diff options
| author | Maxime Coste <mawww@kakoune.org> | 2021-01-22 17:19:36 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-01-22 17:21:59 +1100 |
| commit | 841ec2e5887bb970cbf5c04db27ddbd6685ba011 (patch) | |
| tree | 2b23f87ebc65235b8f8e0b192650fa1f9c981858 | |
| parent | 04a64e6e29798f61005a898f720d0a50decfe45b (diff) | |
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.
| -rwxr-xr-x | test/run | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
