diff options
Diffstat (limited to '')
-rw-r--r-- | Prebuild/tests/.svn/text-base/Makefile.svn-base | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Prebuild/tests/.svn/text-base/Makefile.svn-base b/Prebuild/tests/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..4a8ddf4 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/Makefile.svn-base | |||
@@ -0,0 +1,24 @@ | |||
1 | # | ||
2 | # Executable | ||
3 | # | ||
4 | |||
5 | # Executables | ||
6 | PREBUILD = mono ../src/bin/Release/prebuild.exe /target makefile | ||
7 | |||
8 | # Files | ||
9 | PREBUILDS = $(wildcard *.prebuild) | ||
10 | RESULTS = $(PREBUILDS:prebuild=results) | ||
11 | TESTS = $(PREBUILDS:prebuild=test) | ||
12 | |||
13 | all: $(TESTS) | ||
14 | |||
15 | clean: | ||
16 | rm -f *~ *.log | ||
17 | rm -f $(RESULTS) | ||
18 | |||
19 | %.test: %.prebuild | ||
20 | $(PREBUILD) /log $*.log /file $*.prebuild /ppi $*.results >& /dev/null | ||
21 | if ! cmp $*.expected $*.results; then \ | ||
22 | echo $*.prebuild failed; \ | ||
23 | false; \ | ||
24 | fi | ||