Commit d2e52e87 authored by Drew's avatar Drew

Add test for warnings in atllbuild task

parent 2a2f9ae7
Pipeline #858 passed with stage
(package
:name "warnings"
:poland "invalid" ;; we can't currently warn for this, but we should someday
:tasks {
:default {
:tool "atllbuild"
:outputType "static-library"
:name "test"
:germany "invalid"
:source ["Foo.swift"]
}
}
)
\ No newline at end of file
......@@ -17,6 +17,15 @@ if $ATBUILD build-tests; then
exit 1
fi
echo "****************WARNING TEST*********************"
cd $DIR/tests/fixtures/warnings
$ATBUILD > /tmp/warnings.txt
if ! grep "germany" /tmp/warnings.txt; then
echo "Was not warned about invalid task key"
exit 1
fi
echo "****************HELP TEST*********************"
if $ATBUILD atbuild --help; then
......
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