all: debugger check
debugger: debugger.c debugger.h
- $(CC) -o $@ $< -lthread_db -pthread -ldw
+ $(CC) -o $@ $<
testsuite: testsuite.c debugger.c debugger.h
- $(CC) -o $@ $< -lthread_db -pthread -ldw
+ $(CC) -o $@ $< -pthread
+
+threadtest: threadtest.c
+ $(CC) -o $@ $< -lthread_db -ldw
.PHONY: check
check: testsuite
.PHONY: still
still:
- FIXME ./testsuite && false
+ ls -l core* 2>/dev/null || true
+ date --iso=seconds
+ set -ex; ulimit -c unlimited; time ./testsuite -l
+
.PHONY: clean
clean: