diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2015-12-07 06:19:48 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2015-12-07 06:19:48 +0000 |
commit | 1d3b5a3ac2209366fe63c41f7b79ca2ab8b683ee (patch) | |
tree | 5da9376e9da74487c4c07c018364d0da824840a2 /lldb/packages/Python/lldbsuite/test/basic_results_formatter.py | |
parent | 8cf5e3ae95c44625f313d58961de4ef8a427b635 (diff) | |
download | bcm5719-llvm-1d3b5a3ac2209366fe63c41f7b79ca2ab8b683ee.tar.gz bcm5719-llvm-1d3b5a3ac2209366fe63c41f7b79ca2ab8b683ee.zip |
Added lldbsuite.lldb_test_root, switched formatter to use it.
llvm-svn: 254894
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/basic_results_formatter.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/basic_results_formatter.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/basic_results_formatter.py b/lldb/packages/Python/lldbsuite/test/basic_results_formatter.py index ae4e0c65232..4a8d0c89686 100644 --- a/lldb/packages/Python/lldbsuite/test/basic_results_formatter.py +++ b/lldb/packages/Python/lldbsuite/test/basic_results_formatter.py @@ -13,9 +13,8 @@ from __future__ import print_function import os # Our imports - from . import test_results - +import lldbsuite class BasicResultsFormatter(test_results.ResultsFormatter): """Provides basic test result output.""" @@ -220,14 +219,12 @@ class BasicResultsFormatter(test_results.ResultsFormatter): print_matching_tests = category[2] detail_label = category[3] - test_base_dir = os.path.realpath(os.path.dirname(__file__)) - if print_matching_tests: # Sort by test name for (_, event) in result_events_by_status[result_status_id]: test_relative_path = os.path.relpath( os.path.realpath(event["test_filename"]), - test_base_dir) + lldbsuite.lldb_test_root) self.out_file.write("{}: {} ({})\n".format( detail_label, event["test_name"], |