Author: penryu Date: Fri Mar 17 16:00:35 2017 New Revision: 298123 URL: http://llvm.org/viewvc/llvm-project?rev=298123&view=rev Log: allow for specification of compiler/lldb executables basename
Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest.py?rev=298123&r1=298122&r2=298123&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Fri Mar 17 16:00:35 2017 @@ -278,6 +278,8 @@ def parseOptionsAndInitTestdirs(): if args.compiler: configuration.compiler = os.path.realpath(args.compiler) if not is_exe(configuration.compiler): + configuration.compiler = which(args.compiler) + if not is_exe(configuration.compiler): logging.error( '%s is not a valid compiler executable; aborting...', args.compiler) @@ -370,6 +372,8 @@ def parseOptionsAndInitTestdirs(): # lldb executable is passed explicitly lldbtest_config.lldbExec = os.path.realpath(args.executable) if not is_exe(lldbtest_config.lldbExec): + lldbtest_config.lldbExec = which(args.executable) + if not is_exe(lldbtest_config.lldbExec): logging.error( '%s is not a valid executable to test; aborting...', args.executable) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits