Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 072b7a4

Browse files
committed
test/exceptions/Makefile: Disable GDB quit confirmation
Fixes running tests interactively (with stdin attached to a TTY).
1 parent 8b6c7bf commit 072b7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/exceptions/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ $(ROOT)/rt_trap_exceptions_drt.done: NEGATE=!
7575

7676
$(ROOT)/rt_trap_exceptions_drt_gdb.done: $(ROOT)/rt_trap_exceptions_drt
7777
@echo Testing rt_trap_exceptions_drt_gdb
78-
$(QUIET)$(TIMELIMIT) $(GDB) -ex run -ex 'bt full' -ex q --args $< --DRT-trapExceptions=0 \
78+
$(QUIET)$(TIMELIMIT) $(GDB) -ex 'set confirm off' -ex run -ex 'bt full' -ex q --args $< --DRT-trapExceptions=0 \
7979
> $(ROOT)/rt_trap_exceptions_drt_gdb.output 2>&1 || true
8080
cat $(ROOT)/rt_trap_exceptions_drt_gdb.output
8181
grep "in D main (args=...) at src/rt_trap_exceptions_drt.d:9" > /dev/null < $(ROOT)/rt_trap_exceptions_drt_gdb.output

0 commit comments

Comments
 (0)