diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-05-13 11:32:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 11:32:28 -0700 |
commit | 85708facaea88f0909e3e58eb42738eb11729b88 (patch) | |
tree | 8b5a2942f8b84bdd402486aec2883e7832010c1b /run_tests.py | |
parent | d526af89ca0e52fa076a805e4f585d16dbd1562a (diff) | |
parent | 1dee6c618d879c20bf0a70eebc54bc8caf47716f (diff) | |
download | meson-85708facaea88f0909e3e58eb42738eb11729b88.zip meson-85708facaea88f0909e3e58eb42738eb11729b88.tar.gz meson-85708facaea88f0909e3e58eb42738eb11729b88.tar.bz2 |
Merge pull request #6620 from jon-turney/test-output-check
Add a mechanism for validating meson output in tests
Diffstat (limited to 'run_tests.py')
-rwxr-xr-x | run_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.py b/run_tests.py index 005d9a0..44dcf82 100755 --- a/run_tests.py +++ b/run_tests.py @@ -303,7 +303,7 @@ def run_configure(commandlist, env=None): return run_configure_inprocess(commandlist, env=env) def print_system_info(): - print(mlog.bold('System information.').get_text(mlog.colorize_console)) + print(mlog.bold('System information.').get_text(mlog.colorize_console())) print('Architecture:', platform.architecture()) print('Machine:', platform.machine()) print('Platform:', platform.system()) @@ -377,7 +377,7 @@ def main(): print(flush=True) returncode = 0 else: - print(mlog.bold('Running unittests.').get_text(mlog.colorize_console)) + print(mlog.bold('Running unittests.').get_text(mlog.colorize_console())) print(flush=True) cmd = mesonlib.python_command + ['run_unittests.py', '-v'] if options.failfast: @@ -390,7 +390,7 @@ def main(): else: cross_test_args = mesonlib.python_command + ['run_cross_test.py'] for cf in options.cross: - print(mlog.bold('Running {} cross tests.'.format(cf)).get_text(mlog.colorize_console)) + print(mlog.bold('Running {} cross tests.'.format(cf)).get_text(mlog.colorize_console())) print(flush=True) cmd = cross_test_args + ['cross/' + cf] if options.failfast: |