projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5307c6
)
Print a warning if the directory passed to --test-subdir doesn't end up existing
author
Enrico Granata
<egranata@apple.com>
Mon, 25 Jul 2016 23:26:24 +0000
(23:26 +0000)
committer
Enrico Granata
<egranata@apple.com>
Mon, 25 Jul 2016 23:26:24 +0000
(23:26 +0000)
llvm-svn: 276709
lldb/packages/Python/lldbsuite/test/dosep.py
patch
|
blob
|
history
diff --git
a/lldb/packages/Python/lldbsuite/test/dosep.py
b/lldb/packages/Python/lldbsuite/test/dosep.py
index
37ca91a
..
f218774
100644
(file)
--- a/
lldb/packages/Python/lldbsuite/test/dosep.py
+++ b/
lldb/packages/Python/lldbsuite/test/dosep.py
@@
-1515,6
+1515,8
@@
def main(num_threads, test_subdir, test_runner_name, results_formatter):
test_directory = os.path.dirname(os.path.realpath(__file__))
if test_subdir and len(test_subdir) > 0:
test_subdir = os.path.join(test_directory, test_subdir)
+ if not os.path.isdir(test_subdir):
+ print('specified test subdirectory {} is not a valid directory\n'.format(test_subdir))
else:
test_subdir = test_directory