mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-03 05:02:13 +00:00
tests: improve test output
prefix each test output so its easier to see what is tested
This commit is contained in:
parent
84e82828ba
commit
69dd828919
@ -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\""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user