blob: 5f8e6067eef182e17bd190dd79ecf3cda66e57b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
# script to test the lexer
echo "========================================"
echo " Cleaning the temporaries and outputs"
make clean
echo " Force building lexer"
make -B bin/c_parser
if [[ "$?" -ne 0 ]]; then
echo "Build failed.";
fi
echo "========================================="
echo " Testing lexer"
cat c_parser/test/test_parser.c | ./bin/c_parser | tee c_parser/test/output.xml
|