-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.sh
executable file
·55 lines (54 loc) · 3.67 KB
/
error.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
echo "TEST ALL ERROR MAP"
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/bad_char.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/empty.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/exit_no_acces.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/gigantus.ber
sleep 2
echo "=============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/miss_one.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/no_collectibles.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/no_exit.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/not_closed.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/tiny.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/too_character.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/too_exit.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/wtf.ber
sleep 2
echo "============================================================================================"
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/same_size.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/wrong_ext.c
sleep 2
echo "============================================================================================="
chmod u-r map/error/chmod_map.ber
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/chmod_map.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/bad_door.ber
sleep 2
echo "============================================================================================="
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./so_long map/error/bad_door_2.ber
sleep 2
echo "============================================================================================="