aboutsummaryrefslogtreecommitdiff
path: root/tests/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-04-27 12:43:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-04-27 12:43:25 +0200
commit0863504f6ae84aa63e20736182384cb323e209f8 (patch)
treead813cb24c7b4493ab7e02143ee71fbb5173f15f /tests/makefile
parent2c57a439676481590179718091f7404eb2e03ad7 (diff)
Add tests
Diffstat (limited to 'tests/makefile')
-rw-r--r--tests/makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/makefile b/tests/makefile
new file mode 100644
index 0000000..5baca3a
--- /dev/null
+++ b/tests/makefile
@@ -0,0 +1,17 @@
+# file : tests/makefile
+# copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
+# license : MIT; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
+
+tests := parser serializer roundtrip
+
+default := $(out_base)/
+test := $(out_base)/.test
+clean := $(out_base)/.clean
+
+$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
+$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
+$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
+
+$(foreach t,$(tests),$(call import,$(src_base)/$t/makefile))