Showing the changes to scripts (1 of 3 files). Show all
Unified · Split
| @@ -11,17 +11,22 @@ CFLAGS="-O2 -std=c89 -Wall -Wextra -Wmissing-prototypes -Werror -fno-asynchronou · 10 unmodified lines | |||
| 11 | 11 | ||
| 12 | echo testing mp4 mode... | 12 | echo testing mp4 mode... |
| 13 | gcc $CFLAGS -DMP4_MODE -o minimp3 minimp3_test.c -lm | 13 | gcc $CFLAGS -DMP4_MODE -o minimp3 minimp3_test.c -lm |
| 14 | scripts/test_mode.sh 1 0 | 14 | scripts/test_mode.sh 3 0 |
| 15 | 15 | ||
| 16 | echo testing stream mode... | 16 | echo testing stream mode... |
| 17 | scripts/test_mode.sh 2 -1 | 17 | scripts/test_mode.sh 6 -1 |
| 18 | 18 | ||
| 19 | echo testing coverage x86 w sse... | 19 | echo testing coverage x86 w sse... |
| 20 | gcc -coverage -O0 -m32 -std=c89 -msse2 -DMINIMP3_TEST -DMINIMP3_NO_WAV -o minimp3 minimp3_test.c -lm | 20 | gcc -coverage -O0 -m32 -std=c89 -msse2 -DMINIMP3_TEST -DMINIMP3_NO_WAV -o minimp3 minimp3_test.c -lm |
| 21 | scripts/test.sh | 21 | scripts/test.sh |
| 22 | scripts/test_mode.sh 1 0 | 22 | scripts/test_mode.sh 1 0 |
| 23 | scripts/test_mode.sh 2 -1 | 23 | scripts/test_mode.sh 2 0 |
| 24 | scripts/test_mode.sh 3 -1 | 24 | scripts/test_mode.sh 3 0 |
| 25 | scripts/test_mode.sh 4 0 | ||
| 26 | scripts/test_mode.sh 5 0 | ||
| 27 | scripts/test_mode.sh 6 -1 | ||
| 28 | scripts/test_mode.sh 7 -1 | ||
| 29 | scripts/test_mode.sh 8 -1 | ||
| 25 | set +e | 30 | set +e |
| 26 | ./minimp3 | 31 | ./minimp3 |
| 27 | ./minimp3 do_not_exist | 32 | ./minimp3 do_not_exist |
| @@ -40,8 +45,13 @@ echo testing x64 with float output... · 12 unmodified lines | |||
| 40 | gcc $CFLAGS -DMINIMP3_FLOAT_OUTPUT -o minimp3 minimp3_test.c -lm | 45 | gcc $CFLAGS -DMINIMP3_FLOAT_OUTPUT -o minimp3 minimp3_test.c -lm |
| 41 | scripts/test.sh | 46 | scripts/test.sh |
| 42 | scripts/test_mode.sh 1 0 | 47 | scripts/test_mode.sh 1 0 |
| 43 | scripts/test_mode.sh 2 -1 | 48 | scripts/test_mode.sh 2 0 |
| 44 | scripts/test_mode.sh 3 -1 | 49 | scripts/test_mode.sh 3 0 |
| 50 | scripts/test_mode.sh 4 0 | ||
| 51 | scripts/test_mode.sh 5 0 | ||
| 52 | scripts/test_mode.sh 6 -1 | ||
| 53 | scripts/test_mode.sh 7 -1 | ||
| 54 | scripts/test_mode.sh 8 -1 | ||
| 45 | 55 | ||
| 46 | echo testing arm w/o neon... | 56 | echo testing arm w/o neon... |
| 47 | arm-none-eabi-gcc $CFLAGS -mthumb -mcpu=arm9e -o minimp3_arm minimp3_test.c --specs=rdimon.specs -lm | 57 | arm-none-eabi-gcc $CFLAGS -mthumb -mcpu=arm9e -o minimp3_arm minimp3_test.c --specs=rdimon.specs -lm |