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:
Maxime Coste 2021-01-22 17:19:36 +11:00
parent 04a64e6e29
commit 841ec2e588

View File

@ -54,7 +54,7 @@ main() {
touch in; cp in out
session="kak-tests"
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=$!
failed=0