-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·18 lines (17 loc) · 783 Bytes
/
run.sh
File metadata and controls
executable file
·18 lines (17 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
rm LOG.txt
rm -rf tests/generated_output_shell_script/
mkdir tests/generated_output_shell_script/
for i in {1..32}
do
printf "*******************************************************************************************************************\n"
echo *****INPUT $i*****
printf"\n\n"
cat tests/testcases/test_$i.txt
python3 main.py tests/testcases/test_$i.txt >> tests/generated_output_shell_script/output_$i.txt
printf "\n\n"
echo ****OUTPUT $i****
cat tests/generated_output_shell_script/output_$i.txt
printf "\n\n"
diff tests/generated_output_shell_script/output_$i.txt tests/expected_output/output_test_$i.txt >> diff_log.txt
printf "*******************************************************************************************************************\n"
done