aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/tests/Makefile
diff options
context:
space:
mode:
authorlbsa712009-02-19 14:35:11 +0000
committerlbsa712009-02-19 14:35:11 +0000
commit40d88ce9057babd28074afe803086bf415527dca (patch)
tree3fb229561ebd2c8a49c1839e630275dd8b0c7a3b /Prebuild/tests/Makefile
parent* Reverted Prebuild commit due to strange run-time errors. (diff)
downloadopensim-SC-40d88ce9057babd28074afe803086bf415527dca.zip
opensim-SC-40d88ce9057babd28074afe803086bf415527dca.tar.gz
opensim-SC-40d88ce9057babd28074afe803086bf415527dca.tar.bz2
opensim-SC-40d88ce9057babd28074afe803086bf415527dca.tar.xz
* Reverted the revert, as it seems the problem was the 1.0.* in the separate projects.
Diffstat (limited to '')
-rw-r--r--Prebuild/tests/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Prebuild/tests/Makefile b/Prebuild/tests/Makefile
new file mode 100644
index 0000000..4a8ddf4
--- /dev/null
+++ b/Prebuild/tests/Makefile
@@ -0,0 +1,24 @@
1#
2# Executable
3#
4
5# Executables
6PREBUILD = mono ../src/bin/Release/prebuild.exe /target makefile
7
8# Files
9PREBUILDS = $(wildcard *.prebuild)
10RESULTS = $(PREBUILDS:prebuild=results)
11TESTS = $(PREBUILDS:prebuild=test)
12
13all: $(TESTS)
14
15clean:
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