From 0e2ae5b15c174f16f3ec7c04748ace91d1c8984f Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Wed, 18 Jan 2017 02:28:02 +0100 Subject: [PATCH] Add make test-checkstyle Change-Id: I7d10101415fe73146a167b6890867365689115ca Signed-off-by: Klement Sekera --- jjb/vpp/include-raw-vpp-test-checkstyle.sh | 8 ++++++++ jjb/vpp/vpp.yaml | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 jjb/vpp/include-raw-vpp-test-checkstyle.sh 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 @@ -103,6 +103,8 @@ 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: -- 2.16.6