Skip to content

Commit

Permalink
Add tests for "-m COLORMAP -d DITHER"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Dec 3, 2020
1 parent d20def0 commit 502d203
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ seq2gif_CFLAGS = $(MAYBE_COVERAGE)

test: all
for ttyfile in tests/data/*.tty; do ./seq2gif -i "$$ttyfile" -o /dev/null; done
./seq2gif -i tests/data/sl.tty -o /dev/null
! ./seq2gif -i /non-existent-file.tty -o /dev/null
! ./seq2gif -i tests/data/sl.tty -o /non-existent-file.out
for dither in none fs; do for map in rgb332 xterm256; do \
./seq2gif -d $$dither -m $$map -i tests/data/ls.tty -o /dev/null; \
done; done

coveralls: test
coveralls -E '.*\.h' -e tests -e glyph -e m4
Expand Down
4 changes: 3 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -952,9 +952,11 @@ uninstall-am: uninstall-binPROGRAMS

test: all
for ttyfile in tests/data/*.tty; do ./seq2gif -i "$$ttyfile" -o /dev/null; done
./seq2gif -i tests/data/sl.tty -o /dev/null
! ./seq2gif -i /non-existent-file.tty -o /dev/null
! ./seq2gif -i tests/data/sl.tty -o /non-existent-file.out
for dither in none fs; do for map in rgb332 xterm256; do \
./seq2gif -d $$dither -m $$map -i tests/data/ls.tty -o /dev/null; \
done; done

coveralls: test
coveralls -E '.*\.h' -e tests -e glyph -e m4
Expand Down

0 comments on commit 502d203

Please sign in to comment.