Skip to content

Commit abd0e68

Browse files
committed
Updated gcov
1 parent cc756c5 commit abd0e68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unittest/run_gcov.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ date
1515
echo "!! -------------------------------------------------------------"
1616

1717
echo ""
18-
echo "Run gcov with: -DNO_POSIX_THREADS -O0"
18+
echo "Run gcov with: -O0"
1919
cd ../mapcodelib
2020
gcc $OPTS -O0 -c mapcoder.c
2121
cd ../unittest
22-
gcc $OPTS -DNO_POSIX_THREADS -O0 unittest.c -lm -o unittest $LIB
22+
gcc $OPTS -O0 unittest.c -lm -lpthread -o unittest $LIB
2323
./unittest
2424
cd ../mapcodelib
25-
gcov unittest.c
25+
gcov mapcoder.c
2626
cd ../unittest
2727
gcov unittest.c
2828
echo "!! -------------------------------------------------------------"

0 commit comments

Comments
 (0)