[PATCH] D50916: [LNT] In command-line tool allow to use relative path for test suite location.
Volodymyr Sapsai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 17 15:47:25 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL340107: [LNT] In command-line tool allow to use relative path for test suite location. (authored by vsapsai, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D50916?vs=161297&id=161352#toc
Repository:
rL LLVM
https://reviews.llvm.org/D50916
Files:
lnt/trunk/lnt/tests/test_suite.py
Index: lnt/trunk/lnt/tests/test_suite.py
===================================================================
--- lnt/trunk/lnt/tests/test_suite.py
+++ lnt/trunk/lnt/tests/test_suite.py
@@ -214,12 +214,15 @@
if not os.path.exists(opts.test_suite_root):
self._fatal("invalid --test-suite argument, does not exist: %r" % (
opts.test_suite_root))
+ opts.test_suite_root = os.path.abspath(opts.test_suite_root)
if opts.test_suite_externals:
if not os.path.exists(opts.test_suite_externals):
self._fatal(
"invalid --test-externals argument, does not exist: %r" % (
opts.test_suite_externals,))
+ opts.test_suite_externals = os.path.abspath(
+ opts.test_suite_externals)
opts.cmake = resolve_command_path(opts.cmake)
if not isexecfile(opts.cmake):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50916.161352.patch
Type: text/x-patch
Size: 920 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180817/145ffc12/attachment.bin>
More information about the llvm-commits
mailing list