aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-01-30 03:19:41 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-01-30 03:19:41 +0530
commitbbbc4e336b7f1fc20f127db0c5dace1a03c7db98 (patch)
treeec781e3e8724b5074f1b79b7864c6bf8a53d05a4 /run_tests.py
parentbb491735a980d9124078ac032a5281e648027de7 (diff)
downloadmeson-bbbc4e336b7f1fc20f127db0c5dace1a03c7db98.zip
meson-bbbc4e336b7f1fc20f127db0c5dace1a03c7db98.tar.gz
meson-bbbc4e336b7f1fc20f127db0c5dace1a03c7db98.tar.bz2
Run some unit tests on all platforms
InternalTests can be run on all platforms since they have nothing Linux-specific.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 2dfbaff..005717e 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -20,9 +20,11 @@ from mesonbuild import mesonlib
if __name__ == '__main__':
returncode = 0
+ print('Running unittests.\n')
if mesonlib.is_linux():
- print('Running unittests.\n')
returncode += subprocess.call([sys.executable, 'run_unittests.py', '-v'])
+ else:
+ returncode += subprocess.call([sys.executable, 'run_unittests.py', '-v', 'InternalTests'])
# Ubuntu packages do not have a binary without -6 suffix.
if shutil.which('arm-linux-gnueabihf-gcc-6') and not platform.machine().startswith('arm'):
print('Running cross compilation tests.\n')