Commit fb001c95 authored by Daniel Wortmann's avatar Daniel Wortmann

Adjusted test scripts to produce output at correct place

parent 6aa44f00
...@@ -164,12 +164,12 @@ sub testresult($){ ...@@ -164,12 +164,12 @@ sub testresult($){
}else{ }else{
system("touch $workdir/test.failed"); system("touch $workdir/test.failed");
system("echo 'TEST FAILED:OUT' >> ../failed"); system("echo '\n\n\n********TEST FAILED********:stdout' >> $workdir/../failed");
system("cat out >> ../failed"); system("cat $workdir/../Temporary/LastTest.log >> $workdir/../failed");
system("echo 'TEST FAILED:stdout' >> ../failed"); system("echo '\n\n\n********TEST FAILED********:test.log' >> $workdir/../failed");
system("cat ../Temporary/LastTest.log >> ../failed"); system("cat $workdir/../test.log >> $workdir/../failed");
system("echo 'TEST FAILED:testreport' >> ../failed"); system("echo '\n\n\n********TEST FAILED********:out' >> $workdir/../failed");
system("cat ../test.log >> ../failed"); system("cat $workdir/out >> $workdir/../failed");
print "Test failed\n"; print "Test failed\n";
die "Test failed"; die "Test failed";
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment