Add a unit test.
This also changes the Jenkinsfile so the tests run on Jenkins.
Change-Id: Ib7fbc226e81a574e7068f5d1eba8491cdb523f17
diff --git a/Jenkinsfile b/Jenkinsfile
index fc6bb76..aa49804 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -33,13 +33,26 @@
container('debian') {
ansiColor('xterm') {
sh """
- colormake
+ colormake -j4
"""
}
}
}
}
+ stage('Test') {
+ steps {
+ container('debian') {
+ ansiColor('xterm') {
+ sh """
+ colormake test-junit -j4
+ """
+ junit 'test-results/**/*.xml'
+ }
+ }
+ }
+ }
+
stage('Archive artifacts') {
steps {
container('baker') {