Merge "Add make test-checkstyle"
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Fri, 3 Feb 2017 20:54:03 +0000 (20:54 +0000)
committerGerrit Code Review <gerrit@fd.io>
Fri, 3 Feb 2017 20:54:03 +0000 (20:54 +0000)
jjb/vpp/include-raw-vpp-test-checkstyle.sh [new file with mode: 0644]
jjb/vpp/vpp.yaml

diff --git a/jjb/vpp/include-raw-vpp-test-checkstyle.sh b/jjb/vpp/include-raw-vpp-test-checkstyle.sh
new file mode 100644 (file)
index 0000000..fd44cb6
--- /dev/null
@@ -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
index f8b52ca..bc1d559 100644 (file)
     builders:
         - 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: