about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile10
-rw-r--r--test/pgmnoise.ok1
-rw-r--r--test/ppmforge.ok1
-rw-r--r--test/ppmpat-random.ok3
-rw-r--r--test/ppmrough.ok1
5 files changed, 13 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e5914648..c2139d2a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -527,8 +527,12 @@ resultdir-backup: FORCE
 	fi; \
 	mkdir -p $(RESULTDIR); \
 
+.PHONY: testdir test
 
-check-tree: $(TESTRANDOM) resultdir-backup
+testdir:
+	$(MAKE) -C test
+
+check-tree: testdir resultdir-backup
 	cd $(RESULTDIR); \
 	  $(CHECK_VARS) \
 	  CHECK_TYPE=tree \
@@ -549,7 +553,7 @@ check-package : RGBDEF ?= $(PKGDIR)/misc/rgb.txt
 check-package : PALMMAPDIR ?= $(PKGDIR)/misc/
 check: check-package
 
-check-package: $(TESTRANDOM) resultdir-backup
+check-package: testdir resultdir-backup
 	cd $(RESULTDIR); \
 	  $(CHECK_VARS) \
 	  CHECK_TYPE=package \
@@ -560,7 +564,7 @@ check-package: $(TESTRANDOM) resultdir-backup
 
 # Check after install
 check-install: PALMMAPDIR ?= ""
-check-install: $(TESTRANDOM) resultdir-backup
+check-install: testdir resultdir-backup
 	cd $(RESULTDIR); \
 	  $(CHECK_VARS) \
 	  CHECK_TYPE=install \
diff --git a/test/pgmnoise.ok b/test/pgmnoise.ok
new file mode 100644
index 00000000..138218c2
--- /dev/null
+++ b/test/pgmnoise.ok
@@ -0,0 +1 @@
+2005134911 10015
diff --git a/test/ppmforge.ok b/test/ppmforge.ok
new file mode 100644
index 00000000..e4a4c9e2
--- /dev/null
+++ b/test/ppmforge.ok
@@ -0,0 +1 @@
+3634219838 196623
diff --git a/test/ppmpat-random.ok b/test/ppmpat-random.ok
new file mode 100644
index 00000000..4d298cec
--- /dev/null
+++ b/test/ppmpat-random.ok
@@ -0,0 +1,3 @@
+2219119109 36015
+3436846137 16813
+908097729 16813
diff --git a/test/ppmrough.ok b/test/ppmrough.ok
new file mode 100644
index 00000000..83643849
--- /dev/null
+++ b/test/ppmrough.ok
@@ -0,0 +1 @@
+378403602 30015