Author: vharron Date: Mon May 11 19:50:54 2015 New Revision: 237076 URL: http://llvm.org/viewvc/llvm-project?rev=237076&view=rev Log: Change session log filename pattern: test before arch
This is a very minor change. Just reshuffle the elements of the log filename so that the test name comes before the arch/compiler Before: Failure-x86_64-clang-TestCModules.CModulesTestCase.test_expr_with_dwarf.log After: Failure-TestCModules.CModulesTestCase.test_expr_with_dwarf-x86_64-clang.log This way, results are grouped by test name, not by arch. I think this is much more useful. Differential Revision: http://reviews.llvm.org/D9648 Modified: lldb/trunk/test/lldbtest.py Modified: lldb/trunk/test/lldbtest.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=237076&r1=237075&r2=237076&view=diff ============================================================================== --- lldb/trunk/test/lldbtest.py (original) +++ lldb/trunk/test/lldbtest.py Mon May 11 19:50:54 2015 @@ -1431,9 +1431,9 @@ class Base(unittest2.TestCase): if compiler[1] == ':': compiler = compiler[2:] - fname = "{}-{}-{}".format(self.getArchitecture(), "_".join(compiler.split(os.path.sep)), self.id()) + fname = "{}-{}-{}".format(self.id(), self.getArchitecture(), "_".join(compiler.split(os.path.sep))) if len(fname) > 200: - fname = "{}-{}-{}".format(self.getArchitecture(), compiler.split(os.path.sep)[-1], self.id()) + fname = "{}-{}-{}".format(self.id(), self.getArchitecture(), compiler.split(os.path.sep)[-1]) if prefix is not None: fname = "{}-{}".format(prefix, fname) _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits