aboutsummaryrefslogtreecommitdiffstats
path: root/test_parser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_parser.sh')
-rwxr-xr-xtest_parser.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_parser.sh b/test_parser.sh
index 96644c2..7743579 100755
--- a/test_parser.sh
+++ b/test_parser.sh
@@ -25,9 +25,9 @@ for i in c_parser/test/in/*.c; do
echo ""
echo "Input file : ${i}"
BASENAME=$(basename $i .c);
- cat $i | ./bin/c_parser > c_parser/test/out/$BASENAME.stdout.txt 2> c_parser/test/out/$BASENAME.stderr.txt
+ cat $i | ./bin/c_parser > c_parser/test/out/$BASENAME.stdout.xml 2> c_parser/test/out/$BASENAME.stderr.txt
- diff <(cat c_parser/test/ref/$BASENAME.stdout.txt) <(cat c_parser/test/out/$BASENAME.stdout.txt) > c_parser/test/out/$BASENAME.diff.txt
+ diff <(cat c_parser/test/ref/$BASENAME.stdout.xml) <(cat c_parser/test/out/$BASENAME.stdout.xml) > c_parser/test/out/$BASENAME.diff.txt
if [[ "$?" -ne "0" ]]; then
echo -e "\nERROR"
else