[tests] Fix check-gdb Makefile target by disabling forking in the tests.
[libvscmgmt.git] / 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 $@"