diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-03-02 21:49:29 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-03-02 21:49:29 +0200 |
commit | 455e55f8e51c328400c36d65a15d76e7c4be08eb (patch) | |
tree | 9c24b72729009a4f9fbeb9eb15ee79795639d348 /run_tests.py | |
parent | 52b66edb6cfb891e3a6b8c18d50d98e98dd100ec (diff) | |
download | meson-455e55f8e51c328400c36d65a15d76e7c4be08eb.zip meson-455e55f8e51c328400c36d65a15d76e7c4be08eb.tar.gz meson-455e55f8e51c328400c36d65a15d76e7c4be08eb.tar.bz2 |
Back to .py suffix in files. Closes #394.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-x | run_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py index e85a6d6..7e799cb 100755 --- a/run_tests.py +++ b/run_tests.py @@ -46,6 +46,10 @@ print_debug = 'MESON_PRINT_TEST_OUTPUT' in os.environ test_build_dir = 'work area' install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir') meson_command = os.path.join(os.getcwd(), 'meson') +if not os.path.exists(meson_command): + meson_command += '.py' + if not os.path.exists(meson_command): + raise RuntimeError('Could not find main Meson script to run.') class StopException(Exception): def __init__(self): |