Commit 69dd8289 authored by Natanael Copa's avatar Natanael Copa

tests: improve test output

prefix each test output so its easier to see what is tested
parent 84e82828
......@@ -15,13 +15,13 @@ teardown() {
cd "$startdir"
}
@test "abuild-gzsplit with 3.11 package" {
@test "abuild-gzsplit: 3.11 package" {
run $ABUILD_GZSPLIT < "$datadir"/alpine-base-3.11.6-r0.apk
[ "$status" -eq 0 ]
}
@test "abuild-gzsplit with 3.12 package" {
@test "abuild-gzsplit: 3.12 package" {
run $ABUILD_GZSPLIT < "$datadir"/alpine-base-3.12.0-r0.apk
[ "$status" -eq 0 ]
}
......@@ -3,10 +3,10 @@ setup() {
export ABUILD_SHAREDIR=$PWD/..
}
@test "help text" {
@test "abuild: help text" {
$ABUILD -h
}
@test "version string" {
@test "abuild: version string" {
$ABUILD -V
}
......@@ -2,10 +2,10 @@ setup() {
export FUNCS=../functions.sh
}
@test "check if CBUILD is set" {
@test "functions: check if CBUILD is set" {
. $FUNCS && test -n "$CBUILD"
}
@test "check that missing gcc does not kill us" {
@test "functions: check that missing gcc does not kill us" {
sh -e -c "CC=false; . $FUNCS && test -z \"$CBUILD\""
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment