Commit 43bf8b1a authored by Drew's avatar Drew

Merge pull request #42 from AnarchyTools/agressive

Provide a sensible diagnostic if a user forgets the tool
parents 194bcfc6 5ebcd69a
Pipeline #919 passed with stage
Subproject commit 00150eb972d31b8d76817d2099d6e45000639aa2 Subproject commit 3cf366c04c5ed99230ccd9483f1bba03c10d2fc5
(package
:name "agressive"
:tasks {
:default {
}
}
)
\ No newline at end of file
...@@ -10,6 +10,17 @@ pwd ...@@ -10,6 +10,17 @@ pwd
echo "****************SELF-HOSTING TEST**************" echo "****************SELF-HOSTING TEST**************"
$ATBUILD atbuild $ATBUILD atbuild
echo "****************AGRESSIVE TEST**************"
cd $DIR/tests/fixtures/agressive
if $ATBUILD 2&> /tmp/warnings.txt; then
echo "No tool specified but passed anyway?"
exit 1
fi
if ! grep "No tool for task default; did you forget to specify it?" /tmp/warnings.txt; then
echo "Got an error other than one prompting for the correct tool"
exit 1
fi
echo "****************SHADOW TEST*********************" echo "****************SHADOW TEST*********************"
cd $DIR/tests/fixtures/depend_default cd $DIR/tests/fixtures/depend_default
if $ATBUILD build-tests; then if $ATBUILD build-tests; 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