summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/include-raw-vpp-test-checkstyle.sh
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-01-18 02:28:02 +0100
committerKlement Sekera <ksekera@cisco.com>2017-01-25 04:12:32 +0100
commit0e2ae5b15c174f16f3ec7c04748ace91d1c8984f (patch)
tree2c7aaa570ba0450838da79bc88d1bba36c2e6213 /jjb/vpp/include-raw-vpp-test-checkstyle.sh
parent266846f74ed9ab3d288d881051e4b4bf5d6408a1 (diff)
Add make test-checkstyle
Change-Id: I7d10101415fe73146a167b6890867365689115ca Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'jjb/vpp/include-raw-vpp-test-checkstyle.sh')
-rw-r--r--jjb/vpp/include-raw-vpp-test-checkstyle.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/vpp/include-raw-vpp-test-checkstyle.sh b/jjb/vpp/include-raw-vpp-test-checkstyle.sh
new file mode 100644
index 000000000..fd44cb60d
--- /dev/null
+++ b/jjb/vpp/include-raw-vpp-test-checkstyle.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if grep '.PHONY: checkstyle' test/Makefile > /dev/null
+then
+ make test-checkstyle
+else
+ echo "Can't find checkstyle target in test/Makefile - skipping test checkstyle"
+fi