Add TAP output to kyua, see kyua help report-tap.
Change-Id: Id64218b820da85b5dba75324c732f4e02b898849
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ PROGS+= test${t}
|
||||
PROGS+= t10a t11a t11b t40a t40b t40c t40d t40e t40f t40g t60a t60b \
|
||||
t67a t67b t68a t68b tvnd
|
||||
|
||||
SCRIPTS+= run testinterp.sh testsh1.sh testsh2.sh testmfs.sh testisofs.sh testvnd.sh
|
||||
SCRIPTS+= run testinterp.sh testsh1.sh testsh2.sh testmfs.sh testisofs.sh testvnd.sh testkyua.sh
|
||||
|
||||
# test57loop.S is not linked into the .bcl file.
|
||||
# This way, we can link it in when linking the final binary
|
||||
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
# Execute and report the KYUA tests in TAP format
|
||||
|
||||
# Execute only if kyua is available
|
||||
if which kyua 2>&1 > /dev/null
|
||||
then
|
||||
cd /usr/tests
|
||||
|
||||
kyua test 2>&1 > /dev/null
|
||||
|
||||
# If some test fails, kyua return status is 1, which is why we cannot
|
||||
# activate this before.
|
||||
set -e
|
||||
|
||||
# By default kyua omits successful tests.
|
||||
kyua report-tap --results-filter=passed,skipped,xfail,broken,failed
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user