From bbbc4e336b7f1fc20f127db0c5dace1a03c7db98 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 30 Jan 2017 03:19:41 +0530 Subject: Run some unit tests on all platforms InternalTests can be run on all platforms since they have nothing Linux-specific. --- run_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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') -- cgit v1.1