Add make test-checkstyle 65/4865/1
authorKlement Sekera <ksekera@cisco.com>
Wed, 18 Jan 2017 01:28:02 +0000 (02:28 +0100)
committerKlement Sekera <ksekera@cisco.com>
Wed, 25 Jan 2017 03:12:32 +0000 (04:12 +0100)
Change-Id: I7d10101415fe73146a167b6890867365689115ca
Signed-off-by: Klement Sekera <ksekera@cisco.com>
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 406ae3a..ce0f1e7 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: