-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTESTING.sh
executable file
·17 lines (17 loc) · 1.22 KB
/
TESTING.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/input1.pas >> TEST.test ; diff TEST.test unit_tests/input1.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/input2.pas >> TEST.test ; diff TEST.test unit_tests/input2.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/input3.pas >> TEST.test ; diff TEST.test unit_tests/input3.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/input4.pas >> TEST.test ; diff TEST.test unit_tests/input4.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/error.pas >> TEST.test ; diff TEST.test unit_tests/error.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/error2.pas >> TEST.test ; diff TEST.test unit_tests/error2.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/if_sample.pas >> TEST.test ; diff TEST.test unit_tests/if_sample.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/while_sample.pas >> TEST.test ; diff TEST.test unit_tests/while_sample.correct;
sleep 2;
rm TEST.test; make; sleep 1; clear; ./tips_parse unit_tests/not_sample.pas >> TEST.test ; diff TEST.test unit_tests/not_sample.correct;