aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/Makefile.template
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-03-17 22:54:54 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-03-17 22:54:58 +0100
commit051a28ff84bb8b09035d1b0e0f4776be0d8225ca (patch)
tree3a144e5d8f78352dcf7255dc785eb3c4faa45f7c /templates/Makefile.template
parentd9427202661411b975fcb22f338ed03503d9af6a (diff)
Implements #276
Adds a Makefile target called 'test_python' that first builds grpc, then call run_tests.py to run the python tests for the current configuration.
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r--templates/Makefile.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 148fa7cd63..6845b911aa 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':