summaryrefslogtreecommitdiff
path: root/run_cross_test.py
diff options
context:
space:
mode:
authorNiklas Claesson <nicke.claesson@gmail.com>2018-04-18 15:25:03 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-04-26 23:14:58 +0300
commitceeae58225976db6f59bd563c2fac66ccf948674 (patch)
tree2f050dbe1c1e0104b55a6828cc97dcaed725bbe1 /run_cross_test.py
parent9b0453d3e937195ca234963182dc1b5a61a13f23 (diff)
downloadmeson-ceeae58225976db6f59bd563c2fac66ccf948674.tar.gz
Prettifying some output with pathlib
Diffstat (limited to 'run_cross_test.py')
-rwxr-xr-xrun_cross_test.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/run_cross_test.py b/run_cross_test.py
index e285e2187..71914028f 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: