- Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathtest_builds.sh
executable file
·45 lines (39 loc) · 645 Bytes
/
test_builds.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
#!/usr/bin/env bash
if [ !-f ./configure ];then
echo"Generate configure first. See INSTALL."
exit 1
fi
if [ -f ./Makefile ];then
make distclean
fi
./configure --enable-thread-unsafe-memory-management
make
cd tests
./check_leaks.sh
cd ../examples
./check_leaks.sh
cd ..
make distclean
./configure --enable-debug --enable-thread-unsafe-memory-management
make
cd tests
./check_leaks.sh
cd ../examples
./check_leaks.sh
cd ..
make distclean
./configure
make
cd tests
./check_leaks.sh
cd ../examples
./check_leaks.sh
cd ..
make distclean
./configure --enable-debug
make
cd tests
./check_leaks.sh
cd ../examples
./check_leaks.sh
cd ..