ref: 6b8ff2dab8c2418eaaf9f2ab1948d16be224632a
parent: 3bd2676a6331c30612c669dfa85e9b86ebd5ec28
author: lieff <[email protected]>
date: Tue Jan 16 07:40:21 EST 2018
fix coverage test
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -7,11 +7,9 @@
set -e
gcc -coverage -O0 -DMINIMP3_TEST -o minimp3 minimp3_test.c -lm
+scripts/test.sh
gcov minimp3_test.c
-scripts/test.sh
-
gcc -O2 -g -Wall -Wextra -fno-asynchronous-unwind-tables -fno-stack-protector -ffunction-sections \
-fdata-sections -Wl,--gc-sections -o minimp3 minimp3_test.c -lm
-
scripts/test.sh