aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_tests.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-12 17:08:33 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-12 17:08:33 -0800
commit7c1d7f7a9a11ff1032bee4e145344a3fc8fe2719 (patch)
tree7abe0953d02f5101848a6293e1557943f24fdc98 /tools/run_tests/run_tests.py
parentde990f915526dacea6896f86fb325274da565e78 (diff)
Run C++ tests and C tests
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-xtools/run_tests/run_tests.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index d678721274..00831d2d74 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -13,6 +13,7 @@ import watch_dirs
# flags required for make for each configuration
_CONFIGS = ['dbg', 'opt', 'tsan', 'msan', 'asan']
+_MAKE_TEST_TARGETS = ['buildtests_c', 'buildtests_cxx']
# parse command line
argp = argparse.ArgumentParser(description='Run grpc tests.')
@@ -44,9 +45,11 @@ def _build_and_run(check_cancelled):
if not jobset.run(
(['make',
'-j', '%d' % (multiprocessing.cpu_count() + 1),
- 'buildtests_c',
+ target,
'CONFIG=%s' % cfg]
- for cfg in configs), check_cancelled, maxjobs=1):
+ for cfg in configs
+ for target in _MAKE_TEST_TARGETS),
+ check_cancelled, maxjobs=1):
sys.exit(1)
# run all the tests