summaryrefslogtreecommitdiff
path: root/tools/test.py
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-08-10 10:38:32 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-08-10 11:50:45 -0700
commitc4cafcecb1f50e38275b7d82852fd33b63964fb2 (patch)
tree421842c344d27873bcf3ce9f458a6f0c27a4315f /tools/test.py
parente28d7abc1c369185cc9d1deb4891c6004d9d7ad7 (diff)
Support wildcard matching of output in tests
Diffstat (limited to 'tools/test.py')
-rwxr-xr-xtools/test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test.py b/tools/test.py
index 91557e0fd..5344e7b62 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -5,6 +5,7 @@ import os
import sys
from check_output_test import check_output_test
from util import executable_suffix, run, build_path
+from util_test import util_test
def check_exists(filename):
@@ -23,6 +24,9 @@ def main(argv):
print "Usage: tools/test.py [build_dir]"
sys.exit(1)
+ # Internal tools testing
+ util_test()
+
test_cc = os.path.join(build_dir, "test_cc" + executable_suffix)
check_exists(test_cc)
run([test_cc])