-make
-make install
-
-rm -rf $WORKSPACE/tap
-mkdir -p $WORKSPACE/tap
-
-cd $BUILD_PATH/tests
-
-# Run make check tests
-if [ -e $TEST_PLAN_PATH/tests/tests ]; then
- prove --merge --exec '' - < $TEST_PLAN_PATH/tests/tests --archive $WORKSPACE/tap/ || true
-else
- echo "Missing test plan"
- exit 1
-fi
-
-# TAP plugin is having a hard time with .yml files.
-rm -f $WORKSPACE/tap/meta.yml
-
-# And also with files without extension, so rename all result to *.tap
-find $WORKSPACE/tap/ -type f -exec mv {} {}.tap \;
-
-make clean