Skip to content

Commit 6cfc1ae

Browse files
committed
Fix run-test-suite
You could not interrupt the test with Ctrl+C JerryScript-DCO-1.0-Signed-off-by: Daniella Barsony bella@inf.u-szeged.hu
1 parent a264560 commit 6cfc1ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/runners/run-test-suite.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ TERM_NORMAL="\033[0m"
4141
TERM_RED="\033[1;31m"
4242
TERM_GREEN="\033[1;32m"
4343

44+
trap stop SIGINT
45+
stop() {
46+
exit
47+
}
48+
4449
VERBOSE=1
4550
if [[ "$1" == "-q" ]]
4651
then

0 commit comments

Comments
 (0)