mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-1618: fixed misprint, added saving screenshots in case of failure
(cherry picked from commite4a3889cf0) (cherry picked from commit3959ac1680)
This commit is contained in:
@@ -47,7 +47,7 @@ cd ${TESTSRC}
|
||||
${TESTJAVA}/bin/javac -d ${TESTCLASSES} Font430.java
|
||||
|
||||
${TESTJAVA}/bin/java -cp ${TESTCLASSES} Font430 t1.bmp true
|
||||
${TESTJAVA}/bin/java -cp ${TESTCLASSES} Font430 t2.bmp true
|
||||
${TESTJAVA}/bin/java -cp ${TESTCLASSES} Font430 t2.bmp false
|
||||
|
||||
cmp t1.bmp t2.bmp
|
||||
exit_code=$?
|
||||
@@ -56,6 +56,7 @@ case $exit_code in
|
||||
0) echo "PASSED"
|
||||
;;
|
||||
*) echo "FAILED: $exit_code"
|
||||
mv t[1..2].bmp ${TESTCLASSES}
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user