summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/vpp/include-raw-vpp-test-checkstyle.sh8
-rw-r--r--jjb/vpp/vpp.yaml2
2 files changed, 10 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
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml
index 406ae3aa3..ce0f1e731 100644
--- a/jjb/vpp/vpp.yaml
+++ b/jjb/vpp/vpp.yaml
@@ -104,6 +104,8 @@
- shell:
!include-raw-escape: include-raw-vpp-checkstyle.sh
- shell:
+ !include-raw-escape: include-raw-vpp-test-checkstyle.sh
+ - shell:
!include-raw-escape: include-raw-vpp-build.sh
publishers:
- archive: