Commit 03e7508d authored by Rico Tzschichholz's avatar Rico Tzschichholz

tests: Invalid Code needs to be recoginized explicitly by an compiler error

Running with G_DEBUG=fatal-warnings makes those fail to easily, so only
pass it to positive test-cases.
parent 576ec0a0
......@@ -27,8 +27,6 @@ topsrcdir=$srcdir/..
vapidir=$topsrcdir/vapi
run_prefix=""
export G_DEBUG=fatal_warnings
VALAC=$topbuilddir/compiler/valac$EXEEXT
VALAFLAGS="$VALAFLAGS \
--vapidir $vapidir \
......@@ -172,7 +170,7 @@ for testfile in "$@"; do
cat "$srcdir/$testfile" >> $SOURCEFILE
echo "}" >> $SOURCEFILE
echo "./test$EXEEXT /$testpath" > check
echo "G_DEBUG=fatal-warnings ./test$EXEEXT /$testpath" > check
;;
*.test)
PART=0
......
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