abuild/tests/functions.bats
Natanael Copa 95cd15c025 functions.sh: dont die if gcc is missing
abuild-sign does not use gcc.

fixes #9974
2019-11-07 16:02:47 +00:00

12 lines
216 B
Bash

setup() {
export FUNCS=../functions.sh
}
@test "check if CBUILD is set" {
. $FUNCS && test -n "$CBUILD"
}
@test "check that missing gcc does not kill us" {
sh -e -c "CC=false; . $FUNCS && test -z \"$CBUILD\""
}