diff options
Diffstat (limited to 'run_tests.py')
-rwxr-xr-x | run_tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py index 96fff21..4ca0659 100755 --- a/run_tests.py +++ b/run_tests.py @@ -25,6 +25,7 @@ test_build_dir = 'work area' install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir') meson_command = './meson.py' +unity_flags = ['--unity'] msbuild_exe = shutil.which('msbuild') if msbuild_exe is not None: @@ -107,7 +108,8 @@ def run_test(testdir, should_succeed): os.mkdir(test_build_dir) os.mkdir(install_dir) print('Running test: ' + testdir) - gen_command = [sys.executable, meson_command, '--prefix', install_dir, testdir, test_build_dir] + backend_flags + gen_command = [sys.executable, meson_command, '--prefix', install_dir, testdir, test_build_dir]\ + + unity_flags + backend_flags p = subprocess.Popen(gen_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (stdo, stde) = p.communicate() stdo = stdo.decode('utf-8') |