summaryrefslogtreecommitdiff
path: root/tools/test.py
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2018-09-24 18:12:52 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-09-24 18:12:52 -0400
commit1729bdb0d7f504436cacc07bedba642591fdb0cb (patch)
tree8d9fb23ef2b942e8df6fea7b6637185fa1a0d709 /tools/test.py
parentd6a97ae4f02a7150165877e304778c96b90ddd5a (diff)
Add thread count benchmark (#811)
Diffstat (limited to 'tools/test.py')
-rwxr-xr-xtools/test.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/test.py b/tools/test.py
index 3cd03e916..ac3a5ca95 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -8,6 +8,7 @@ from setup_test import setup_test
from util import build_path, enable_ansi_colors, executable_suffix, run
from unit_tests import unit_tests
from util_test import util_test
+from benchmark_test import benchmark_test
import subprocess
import http_server
@@ -32,9 +33,15 @@ def main(argv):
http_server.spawn()
+ deno_exe = os.path.join(build_dir, "deno" + executable_suffix)
+ check_exists(deno_exe)
+ deno_ns_exe = os.path.join(build_dir, "deno_ns" + executable_suffix)
+ check_exists(deno_ns_exe)
+
# Internal tools testing
setup_test()
util_test()
+ benchmark_test(deno_exe)
test_cc = os.path.join(build_dir, "test_cc" + executable_suffix)
check_exists(test_cc)
@@ -44,15 +51,9 @@ def main(argv):
check_exists(test_rs)
run([test_rs])
- deno_exe = os.path.join(build_dir, "deno" + executable_suffix)
- check_exists(deno_exe)
unit_tests(deno_exe)
- check_exists(deno_exe)
check_output_test(deno_exe)
-
- deno_ns_exe = os.path.join(build_dir, "deno_ns" + executable_suffix)
- check_exists(deno_ns_exe)
check_output_test(deno_ns_exe)