(path)
| 24 | PYLIB_CHECK = os.path.join(PYLIB_PATH, 'clang', 'compile_db.py') |
| 25 | GM_CHECK = os.path.join(GM_PATH, 'gm.py') |
| 26 | def CheckRelativeImport(path): |
| 27 | if not os.path.exists(path): |
| 28 | print("Error: Please run this script from the root of a V8 checkout. " |
| 29 | f"{path} must be a valid relative path.") |
| 30 | sys.exit(1) |
| 31 | CheckRelativeImport(PYLIB_CHECK) |
| 32 | CheckRelativeImport(GM_CHECK) |
| 33 |
no test coverage detected