aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-01 15:23:05 +0200
committerMattias Andrée <maandree@kth.se>2020-06-01 15:23:05 +0200
commit3b401b823ca98e6329450874eadeaa5f5c120cd1 (patch)
tree45bbac972b106f6fb1c8e2c48d3b937f7e169077 /tests/Makefile
parentUse WCOREDUMP rather than __WCOREDUMP (diff)
downloadsctrace-3b401b823ca98e6329450874eadeaa5f5c120cd1.tar.gz
sctrace-3b401b823ca98e6329450874eadeaa5f5c120cd1.tar.bz2
sctrace-3b401b823ca98e6329450874eadeaa5f5c120cd1.tar.xz
Add tests for manually testing
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--tests/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..db5caa7
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,32 @@
+.POSIX:
+
+BIN =\
+ abort.t\
+ cont.t\
+ exec.t\
+ exit.t\
+ fork.t\
+ fork-stop.t\
+ kill.t\
+ raise.t\
+ siginfo.t\
+ signal.t\
+ stop.t\
+ threads.t\
+ tstp.t\
+ vfork.t\
+ vfork-exec.t
+
+all: $(BIN)
+$(BIN): $(@:.t=.c)
+
+.c.t:
+ $(CC) -static -pthread -Og -g -o $@ $< -D_XOPEN_SOURCE=700
+
+clean:
+ -rm -f -- $(BIN)
+
+.SUFFIXES:
+.SUFFIXES: .t .c
+
+.PHONY: all clean