mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-12 20:19:10 +03:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user