-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck_leaks.sh
20 lines (18 loc) · 1.12 KB
/
check_leaks.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# **************************************************************************** #
# #
# ::: :::::::: #
# check_leaks.sh :+: :+: :+: #
# +:+ +:+ +:+ #
# By: jaleman <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/07/31 06:44:23 by jaleman #+# #+# #
# Updated: 2017/07/31 06:44:24 by jaleman ### ########.fr #
# #
# **************************************************************************** #
# With valgrind
valgrind --tool=memcheck --leak-check=yes --track-origins=yes \
--leak-check=full ./lem-in < resources/tests/maps/pdf_map1
# With leaks
./lem-in < resources/tests/maps/europe & leaks lem-in ; \
killall -9 lem-in