improve warning on failing to validate repos
This commit is contained in:
Родитель
a601377b0e
Коммит
c5debd431b
|
@ -240,7 +240,7 @@ class sanity(RunnerCore):
|
|||
os.chmod(path_from_root('tests', 'fake', 'bin', 'llc'), stat.S_IREAD | stat.S_IWRITE | stat.S_IEXEC)
|
||||
os.chmod(path_from_root('tests', 'fake', 'bin', 'clang++'), stat.S_IREAD | stat.S_IWRITE | stat.S_IEXEC)
|
||||
try_delete(SANITY_FILE)
|
||||
output = self.check_working(EMCC, 'did not see a source tree above LLVM_DIR, could not verify version numbers match')
|
||||
output = self.check_working(EMCC, 'did not see a source tree above the LLVM root directory')
|
||||
|
||||
VERSION_WARNING = 'Emscripten, llvm and clang versions do not match, this is dangerous'
|
||||
|
||||
|
|
|
@ -326,7 +326,7 @@ def check_fastcomp():
|
|||
break
|
||||
d = os.path.dirname(d)
|
||||
if not seen:
|
||||
logging.warning('did not see a source tree above LLVM_DIR, could not verify version numbers match')
|
||||
logging.warning('did not see a source tree above the LLVM root directory (guessing based on directory of %s), could not verify version numbers match' % LLVM_COMPILER)
|
||||
return True
|
||||
except Exception, e:
|
||||
logging.warning('could not check fastcomp: %s' % str(e))
|
||||
|
|
Загрузка…
Ссылка в новой задаче