diff --git a/Makefile b/Makefile index f63926b02e00932029048133981093e87f3b051a..8be6c5fd0a44bdeaa4c8c15e619090f22846f60c 100644 --- a/Makefile +++ b/Makefile @@ -1837,6 +1837,11 @@ test_cxx: buildtests_cxx $(Q) $(BINDIR)/$(CONFIG)/thread_pool_test || ( echo test thread_pool_test failed ; exit 1 ) +test_python: static_c + $(E) "[RUN] Testing python code" + $(Q) tools/run_tests/run_tests.py -lpython -c$(CONFIG) + + tools: privatelibs $(BINDIR)/$(CONFIG)/gen_hpack_tables $(BINDIR)/$(CONFIG)/grpc_create_jwt $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token buildbenchmarks: privatelibs $(BINDIR)/$(CONFIG)/grpc_completion_queue_benchmark $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark diff --git a/templates/Makefile.template b/templates/Makefile.template index 148fa7cd63330020492e9b89b82b025a87f5a3e9..6845b911aa10039f75e58e5146ccd260e4258e46 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -653,6 +653,11 @@ test_cxx: buildtests_cxx % endfor +test_python: static_c + $(E) "[RUN] Testing python code" + $(Q) tools/run_tests/run_tests.py -lpython -c$(CONFIG) + + tools: privatelibs\ % for tgt in targets: % if tgt.build == 'tool':