philippe | 0447bbd | 2012-10-17 21:32:03 +0000 | [diff] [blame] | 1 | # test that an exit (with return value) is properly passed on to gdb. |
philippe | 2c89107 | 2014-04-23 21:27:07 +0000 | [diff] [blame] | 2 | # also test the --vgdb-stop-at startup and exit args (so we do not use |
| 3 | # --vgdb-error=0 here) |
philippe | 0447bbd | 2012-10-17 21:32:03 +0000 | [diff] [blame] | 4 | prog: gone |
| 5 | args: exit |
philippe | 2c89107 | 2014-04-23 21:27:07 +0000 | [diff] [blame] | 6 | vgopts: --tool=none --vgdb=yes --vgdb-stop-at=startup,exit --vgdb-prefix=./vgdb-prefix-nlgone-exit |
philippe | 0447bbd | 2012-10-17 21:32:03 +0000 | [diff] [blame] | 7 | stderr_filter: filter_stderr |
| 8 | prereq: test -e gdb |
| 9 | progB: gdb |
florian | 064ed86 | 2015-08-26 20:24:47 +0000 | [diff] [blame] | 10 | envB: LC_ALL=C |
philippe | 0447bbd | 2012-10-17 21:32:03 +0000 | [diff] [blame] | 11 | argsB: --quiet -l 60 --nx ./gone |
| 12 | stdinB: nlgone_exit.stdinB.gdb |
| 13 | stdoutB_filter: filter_gdb |
| 14 | stderrB_filter: filter_gdb |