Allow rgbgfx - for stdin and stdout

Closes #1087
This commit is contained in:
ISSOtm
2022-11-12 11:45:19 +01:00
committed by Eldred Habert
parent 62b4f2b264
commit 6902387991
8 changed files with 165 additions and 46 deletions

View File

@@ -12,6 +12,8 @@ red="$(tput setaf 1)"
green="$(tput setaf 2)"
rescolors="$(tput op)"
RGBGFX=../../rgbgfx
rc=0
new_test() {
cmdline="${*@Q}"
@@ -42,7 +44,7 @@ rm -f out*.png result.png
for f in *.png; do
flags="$([[ -e "${f%.png}.flags" ]] && echo "@${f%.png}.flags")"
new_test ../../rgbgfx $flags "$f"
new_test "$RGBGFX" $flags "$f"
if [[ -e "${f%.png}.err" ]]; then
test 2>"$errtmp"