5 for i
in `ls tests/*.c`; do
6 testname
=$
(basename "$i" .c
)
7 gcc
-o tests
/$testname -pthread -lpthread $i liblockdep.a
-Iinclude -D__USE_LIBLOCKDEP &> /dev
/null
8 echo -ne "$testname... "
9 if [ $
(timeout
1 .
/tests
/$testname |
wc -l) -gt 0 ]; then
14 if [ -f "tests/$testname" ]; then
19 for i
in `ls tests/*.c`; do
20 testname
=$
(basename "$i" .c
)
21 gcc
-o tests
/$testname -pthread -lpthread -Iinclude $i &> /dev
/null
22 echo -ne "(PRELOAD) $testname... "
23 if [ $
(timeout
1 .
/lockdep .
/tests
/$testname |
wc -l) -gt 0 ]; then
28 if [ -f "tests/$testname" ]; then