aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-01-15 21:43:15 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-01-15 21:43:15 +0200
commita5508d3fd362ea33633d9706a6257ef0f0c2bbc0 (patch)
treed1b35f622aa5feae62dee35eaef33df19b2b9d40 /run_tests.py
parent8b1039fa30a405e2d07ac70eb0284ee4654c619a (diff)
downloadmeson-a5508d3fd362ea33633d9706a6257ef0f0c2bbc0.zip
meson-a5508d3fd362ea33633d9706a6257ef0f0c2bbc0.tar.gz
meson-a5508d3fd362ea33633d9706a6257ef0f0c2bbc0.tar.bz2
Can run most of test suite (with hacks).
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/run_tests.py b/run_tests.py
index f1ea2a9..e24c906 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -21,12 +21,13 @@ import sys
from meson import environment
from meson import mesonlib
from meson import mlog
-from meson import meson, meson_test, meson_benchmark
+from meson import mesonmain
+from scripts import meson_test, meson_benchmark
import argparse
import xml.etree.ElementTree as ET
import time
-from meson.meson import backendlist
+from meson.mesonmain import backendlist
class TestResult:
def __init__(self, msg, stdo, stde, conftime=0, buildtime=0, testtime=0):
@@ -154,7 +155,7 @@ def run_configure_inprocess(commandlist):
old_stderr = sys.stderr
sys.stderr = mystderr = StringIO()
try:
- returncode = meson.run(commandlist)
+ returncode = mesonmain.run(commandlist)
finally:
sys.stdout = old_stdout
sys.stderr = old_stderr