diff options
author | Craig Tiller <ctiller@google.com> | 2015-01-12 17:08:33 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-01-12 17:08:33 -0800 |
commit | 7c1d7f7a9a11ff1032bee4e145344a3fc8fe2719 (patch) | |
tree | 7abe0953d02f5101848a6293e1557943f24fdc98 /tools | |
parent | de990f915526dacea6896f86fb325274da565e78 (diff) |
Run C++ tests and C tests
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/run_tests.py | 7 |
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 |