diff options
author | 2017-02-03 20:54:03 +0000 | |
---|---|---|
committer | 2017-02-03 20:54:03 +0000 | |
commit | 4b442efa96868ff1f1a879a33464f759044ff5e7 (patch) | |
tree | 02fca1a9d026c558f8c3c75dc8d34de150e7ac16 /jjb/vpp | |
parent | 3ad4671d5de987b580ec8b65215b428595febcc1 (diff) | |
parent | 0e2ae5b15c174f16f3ec7c04748ace91d1c8984f (diff) |
Merge "Add make test-checkstyle"
Diffstat (limited to 'jjb/vpp')
-rw-r--r-- | jjb/vpp/include-raw-vpp-test-checkstyle.sh | 8 | ||||
-rw-r--r-- | jjb/vpp/vpp.yaml | 2 |
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 f8b52caa8..bc1d5597d 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -106,6 +106,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: |