Skip to content
Snippets Groups Projects
Commit 7c1d7f7a authored by Craig Tiller's avatar Craig Tiller
Browse files

Run C++ tests and C tests

parent de990f91
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment