mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
image outputs now contain the terminal name
This commit is contained in:
@ -36,7 +36,8 @@ RUN apk add --no-cache \
|
|||||||
|
|
||||||
# Our terminals
|
# Our terminals
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
alacritty
|
alacritty \
|
||||||
|
xterm
|
||||||
|
|
||||||
COPY --from=vttest /vttest /usr/bin/vttest
|
COPY --from=vttest /vttest /usr/bin/vttest
|
||||||
|
|
||||||
|
BIN
test/cases/vttest/1_1.sh.alacritty.png
Normal file
BIN
test/cases/vttest/1_1.sh.alacritty.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
BIN
test/cases/vttest/1_1.sh.xterm.png
Normal file
BIN
test/cases/vttest/1_1.sh.xterm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
@ -33,7 +33,8 @@ while [[ "$#" -gt 0 ]]; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# If we're updating, then just update the file in-place
|
# If we're updating, then just update the file in-place
|
||||||
if [ "$ARG_UPDATE" -eq 1 ]; then ARG_OUT="${ARG_CASE}.png"; fi
|
GOLDEN_OUT="${ARG_CASE}.${ARG_EXEC}.png"
|
||||||
|
if [ "$ARG_UPDATE" -eq 1 ]; then ARG_OUT=$GOLDEN_OUT; fi
|
||||||
|
|
||||||
bad=0
|
bad=0
|
||||||
if [ -z "$ARG_EXEC" ]; then bad=1; fi
|
if [ -z "$ARG_EXEC" ]; then bad=1; fi
|
||||||
@ -93,7 +94,7 @@ echo "Capturing screen shot..."
|
|||||||
import -window root ${ARG_OUT}
|
import -window root ${ARG_OUT}
|
||||||
|
|
||||||
echo "Comparing results..."
|
echo "Comparing results..."
|
||||||
DIFF=$(compare -metric AE ${ARG_OUT} ${ARG_CASE}.png null: 2>&1)
|
DIFF=$(compare -metric AE ${ARG_OUT} ${GOLDEN_OUT} null: 2>&1)
|
||||||
if [ $? -eq 2 ] ; then
|
if [ $? -eq 2 ] ; then
|
||||||
echo " Comparison failed (error)"
|
echo " Comparison failed (error)"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user