summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-unit-test.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-06-09 14:58:09 -0400
committerDan Radez <dradez@redhat.com>2016-06-13 19:23:38 -0400
commitfc5f8e3deef6fd02f0f65752148355d1e66743d1 (patch)
tree20f9c50c9c9a7e2cb3591c1c039171ea536feeff /jjb/apex/apex-unit-test.sh
parent08e5e1c92db49df8d902cd49b8dba57a50968e34 (diff)
adding testing builder
Change-Id: I6d93dbad6ac7d25ace691ca0991179ef8cf8645a Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'jjb/apex/apex-unit-test.sh')
-rwxr-xr-xjjb/apex/apex-unit-test.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/jjb/apex/apex-unit-test.sh b/jjb/apex/apex-unit-test.sh
new file mode 100755
index 000000000..5c4341741
--- /dev/null
+++ b/jjb/apex/apex-unit-test.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -o errexit
+set -o nounset
+set -o pipefail
+# log info to console
+echo "Starting unit tests for Apex..."
+echo "---------------------------------------------------------------------------------------"
+echo
+
+
+pushd ci/ > /dev/null
+sudo CONFIG="${WORKSPACE}/build" LIB="${WORKSPACE}/lib" ./clean.sh
+./test.sh
+popd
+
+echo "--------------------------------------------------------"
+echo "Unit Tests Done!"