Author: tberghammer Date: Fri Oct 9 07:06:07 2015 New Revision: 249825 URL: http://llvm.org/viewvc/llvm-project?rev=249825&view=rev Log: Fix the way dwo tests are skipped on darwin
We want to skip these tests when the target platform is darwin, not when the host because they have to be enabled in case of darwin -> android Modified: lldb/trunk/test/dotest.py Modified: lldb/trunk/test/dotest.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=249825&r1=249824&r2=249825&view=diff ============================================================================== --- lldb/trunk/test/dotest.py (original) +++ lldb/trunk/test/dotest.py Fri Oct 9 07:06:07 2015 @@ -112,7 +112,7 @@ just_do_benchmarks_test = False dont_do_dsym_test = False dont_do_dwarf_test = False -dont_do_dwo_test = sys.platform == 'darwin' +dont_do_dwo_test = False # The blacklist is optional (-b blacklistFile) and allows a central place to skip # testclass's and/or testclass.testmethod's. @@ -1513,11 +1513,12 @@ if __name__ == "__main__": target_platform = lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2] - # By default, both dsym and dwarf tests are performed. - # Use @dsym_test or @dwarf_test decorators, defined in lldbtest.py, to mark a test - # as a dsym or dwarf test. Use '-N dsym' or '-N dwarf' to exclude dsym or dwarf - # tests from running. - dont_do_dsym_test = dont_do_dsym_test or "linux" in target_platform or "freebsd" in target_platform or "windows" in target_platform + # By default, both dsym, dwarf and dwo tests are performed. + # Use @dsym_test, @dwarf_test or @dwo_test decorators, defined in lldbtest.py, to mark a test as + # a dsym, dwarf or dwo test. Use '-N dsym', '-N dwarf' or '-N dwo' to exclude dsym, dwarf or + # dwo tests from running. + dont_do_dsym_test = dont_do_dsym_test or any(platform in target_platform for platform in ["linux", "freebsd", "windows"]) + dont_do_dwo_test = dont_do_dwo_test or any(platform in target_platform for platform in ["darwin", "macosx", "ios"]) # Don't do debugserver tests on everything except OS X. dont_do_debugserver_test = "linux" in target_platform or "freebsd" in target_platform or "windows" in target_platform _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits