diff options
author | Niklas Claesson <nicke.claesson@gmail.com> | 2018-04-18 15:25:03 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-26 23:14:58 +0300 |
commit | ceeae58225976db6f59bd563c2fac66ccf948674 (patch) | |
tree | 2f050dbe1c1e0104b55a6828cc97dcaed725bbe1 /run_cross_test.py | |
parent | 9b0453d3e937195ca234963182dc1b5a61a13f23 (diff) | |
download | meson-ceeae58225976db6f59bd563c2fac66ccf948674.zip meson-ceeae58225976db6f59bd563c2fac66ccf948674.tar.gz meson-ceeae58225976db6f59bd563c2fac66ccf948674.tar.bz2 |
Prettifying some output with pathlib
Diffstat (limited to 'run_cross_test.py')
-rwxr-xr-x | run_cross_test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/run_cross_test.py b/run_cross_test.py index e285e21..7191402 100755 --- a/run_cross_test.py +++ b/run_cross_test.py @@ -22,13 +22,15 @@ Not part of the main test suite because of two reasons: Eventually migrate to something fancier.''' -import sys, os +import sys +import os +from pathlib import Path from run_project_tests import gather_tests, run_tests, StopException, setup_commands from run_project_tests import failing_logs def runtests(cross_file): - commontests = [('common', gather_tests('test cases/common'), False)] + commontests = [('common', gather_tests(Path('test cases', 'common')), False)] try: (passing_tests, failing_tests, skipped_tests) = run_tests(commontests, 'meson-cross-test-run', ['--cross', cross_file]) except StopException: |