mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
27 lines
699 B
Bash
Executable File
27 lines
699 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# interactive tester for Notcurses. runs a variety of programs, which the
|
|
# user must inspect for correct output -- i.e. these do not check their
|
|
# own output for correctness =[. it ought be run from a notcurses build
|
|
# directory, with all binaries built.
|
|
|
|
DATA=../data # FIXME
|
|
OUT=$(basename 0).log # FIXME
|
|
rm -f "$OUT"
|
|
|
|
[ -d "$DATA" ] || { echo "$DATA was not a directory" >&2 ; exit 1 ; }
|
|
|
|
# this ought process the entire file, then allow the user to exit with ^D
|
|
./notcurses-input -v < ../src/lib/in.c 2>>"$OUT"
|
|
|
|
# goes through a series of self-described bitmap frames
|
|
./bitmapstates 2>>"$OUT"
|
|
|
|
./statepixel "$DATA"/worldmap.jpg 2>>"$OUT"
|
|
|
|
./ncneofetch -v 2>>"$OUT"
|
|
|
|
./resize
|