summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-06-21 19:45:03 -0300
committerJohan Dahlin <johan@gnome.org>2010-06-21 21:22:38 -0300
commit95db443802b4d1b31b89958a426436769347b8b2 (patch)
tree8d36136f0dc4d76f9d569180355c82d2678044b9 /test
parentc2303db2e89a0783af91f749f0b5946af3ac96c3 (diff)
downloadgjs-95db443802b4d1b31b89958a426436769347b8b2.tar.gz
[gdb-check] Add a script for easier use
Add a gdb script that allows the test to run without user interaction. It also quits of the exitcode is 0 and shows the prompt if not
Diffstat (limited to 'test')
-rw-r--r--test/unittest.gdb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unittest.gdb b/test/unittest.gdb
new file mode 100644
index 00000000..a57846c9
--- /dev/null
+++ b/test/unittest.gdb
@@ -0,0 +1,4 @@
+run
+if ($_exitcode == 0)
+ quit
+end