diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2015-10-30 22:02:56 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-31 00:02:38 +0300 |
commit | 6a94088cc3d539bdc15b824befc083f7ff8d0288 (patch) | |
tree | 8f0cfd83cf10d042726e0b706c5fd5636dfc6388 /t/README | |
parent | 80980a1d5c2678ab9031d7c60faf38b9631eb1ce (diff) |
test: facilitate debugging Git executables in tests with gdb
When prefixing a Git call in the test suite with 'debug ', it will
now be run with GDB, allowing the developer to debug test failures
more conveniently.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -563,6 +563,11 @@ library for your script to use. argument. This is primarily meant for use during the development of a new test script. + - debug <git-command> + + Run a git command inside a debugger. This is primarily meant for + use when debugging a failing test script. + - test_done Your test script must have test_done at the end. Its purpose |