diff options
Diffstat (limited to 'lldb/test/functionalities')
6 files changed, 18 insertions, 5 deletions
diff --git a/lldb/test/functionalities/completion/TestCompletion.py b/lldb/test/functionalities/completion/TestCompletion.py index 8967a2204da..2017a3090f4 100644 --- a/lldb/test/functionalities/completion/TestCompletion.py +++ b/lldb/test/functionalities/completion/TestCompletion.py @@ -15,8 +15,11 @@ class CommandLineCompletionTestCase(TestBase): @classmethod def classCleanup(cls): """Cleanup the test byproducts.""" - os.remove("child_send.txt") - os.remove("child_read.txt") + try: + os.remove("child_send.txt") + os.remove("child_read.txt") + except: + pass def test_at(self): """Test that 'at' completes to 'attach '.""" diff --git a/lldb/test/functionalities/data-formatter/.categories b/lldb/test/functionalities/data-formatter/.categories new file mode 100644 index 00000000000..fe1da0247c6 --- /dev/null +++ b/lldb/test/functionalities/data-formatter/.categories @@ -0,0 +1 @@ +dataformatters diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/.categories b/lldb/test/functionalities/data-formatter/data-formatter-objc/.categories new file mode 100644 index 00000000000..77b5ffcad61 --- /dev/null +++ b/lldb/test/functionalities/data-formatter/data-formatter-objc/.categories @@ -0,0 +1 @@ +dataformatter,objc diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py index b4340d5cb80..95022b497f1 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py @@ -89,6 +89,8 @@ class ObjCDataFormatterTestCase(TestBase): """Test common cases of expression parser <--> formatters interaction.""" self.buildDsym() self.expr_objc_data_formatter_commands() + def getCategories(self): + return ['dataformatters','expression','objc'] @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @dwarf_test @@ -96,6 +98,8 @@ class ObjCDataFormatterTestCase(TestBase): """Test common cases of expression parser <--> formatters interaction.""" self.buildDwarf() self.expr_objc_data_formatter_commands() + def getCategories(self): + return ['dataformatters','expression','objc'] def setUp(self): # Call super's setUp(). diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/.categories b/lldb/test/functionalities/expr-doesnt-deadlock/.categories new file mode 100644 index 00000000000..897e40a99dd --- /dev/null +++ b/lldb/test/functionalities/expr-doesnt-deadlock/.categories @@ -0,0 +1 @@ +expression diff --git a/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py b/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py index ae9749617d5..eb7abc27653 100644 --- a/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py +++ b/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py @@ -16,9 +16,12 @@ class SingleQuoteInCommandLineTestCase(TestBase): @classmethod def classCleanup(cls): """Cleanup the test byproducts.""" - os.remove("child_send.txt") - os.remove("child_read.txt") - os.remove(cls.myexe) + try: + os.remove("child_send.txt") + os.remove("child_read.txt") + os.remove(cls.myexe) + except: + pass def test_lldb_invocation_with_single_quote_in_filename(self): """Test that 'lldb my_file_name' works where my_file_name is a string with a single quote char in it.""" |