2019-11-07 15:59:01 +00:00
|
|
|
setup() {
|
|
|
|
export FUNCS=../functions.sh
|
|
|
|
}
|
|
|
|
|
2020-07-08 08:59:38 +00:00
|
|
|
@test "functions: check if CBUILD is set" {
|
2019-11-07 15:59:01 +00:00
|
|
|
. $FUNCS && test -n "$CBUILD"
|
|
|
|
}
|
|
|
|
|
2020-07-08 08:59:38 +00:00
|
|
|
@test "functions: check that missing gcc does not kill us" {
|
2019-11-07 15:59:01 +00:00
|
|
|
sh -e -c "CC=false; . $FUNCS && test -z \"$CBUILD\""
|
|
|
|
}
|