[tests] Fix check-gdb Makefile target by disabling forking in the tests.
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 9 May 2009 15:16:35 +0000 (17:16 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 9 May 2009 15:16:35 +0000 (17:16 +0200)
Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

tests/Makefile

index 8e39c56..3074bb5 100644 (file)
@@ -43,7 +43,7 @@ check: all
 check-gdb: all
        @echo r > .gdbinit
        @echo bt >> .gdbinit
-       @echo $(TESTS) | sed 's,^,./,g;s, ,\n./,g' | LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) xargs -L 1 gdb
+       @echo $(TESTS) | sed 's,^,./,g;s, ,\n./,g' | LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) CK_FORK="no" xargs -L 1 gdb
 
 %.test: %_test.o
        @echo "> linking $@"