improve warning on failing to validate repos

This commit is contained in:
Alon Zakai 2014-05-22 13:41:08 -07:00
Родитель a601377b0e
Коммит c5debd431b
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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))