Tweak the test output.

This commit is contained in:
Nigel Tao committed 2017-05-27 09:18:59 +10:00
1 parent 9724466233
commit 71a3ad6563
3 files changed
+18 -9

No files matched your search

+3 -5
View File
@@ -5,21 +5,19 @@
To manually run this test:
for cc in clang gcc; do
printf "%-8s" "$cc:"
$cc -std=c99 -Wall -Werror basic.c && ./a.out
rm -f a.out
done
It should print:
clang: PASS (N tests run)
gcc: PASS (N tests run)
for some value of N.
Each edition should print "PASS", amongst other information, and exit(0).
*/
#include "../testlib/testlib.c"
#include "../../../gen/c/gif.c"
const char* test_filename = "gif/basic.c";
void test_default_literal_width() {
puffs_gif_lzw_decoder dec;
puffs_gif_lzw_decoder_constructor(&dec);