Support a DEBUGGER env-var to run tests
Setting it to `gdbserver :12345` makes it easy to debug a test case with the correct setup.
This commit is contained in:
parent
04a64e6e29
commit
841ec2e588
2
test/run
2
test/run
|
@ -54,7 +54,7 @@ main() {
|
||||||
touch in; cp in out
|
touch in; cp in out
|
||||||
session="kak-tests"
|
session="kak-tests"
|
||||||
rm -f "$(session_path $session)"
|
rm -f "$(session_path $session)"
|
||||||
$root/../src/kak out -n -s "$session" -ui json -e "$kak_commands" >ui-out <ui-in &
|
$DEBUGGER $root/../src/kak out -n -s "$session" -ui json -e "$kak_commands" >ui-out <ui-in &
|
||||||
kakpid=$!
|
kakpid=$!
|
||||||
|
|
||||||
failed=0
|
failed=0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user