components/php-5_3/php-cgi/Makefile
changeset 4165 cd344a63e64f
parent 3817 30b42c38bbc4
child 4339 6501cf9c29f9
--- a/components/php-5_3/php-cgi/Makefile	Tue Apr 21 15:56:35 2015 -0700
+++ b/components/php-5_3/php-cgi/Makefile	Wed Apr 22 06:22:45 2015 -0700
@@ -54,13 +54,32 @@
 
 COMPONENT_INSTALL_TARGETS = install-sapi
 
-# common targets
+# Test results not quite stable but good enough for human eyes
+$(SKIP_TEST_AT_TOP_LEVEL)
+
 configure:	$(CONFIGURE_32)
 
 build:		$(BUILD_32)
 
 install:	$(INSTALL_32)
 
+# These test and compare results are not quite stable enough
+# to use in automated testing but good enough to eye
+# ball and get a sense that php is working correctly.
+# Individual tests can be run afterwards.
+# Several random tests may PASS/FAIL on each run thus invalidating
+# test and compare results.
+# To use the master test result file do:
+# $ gmake build
+# $ gmake -i -k test
+# because very likely the comparison phase will fail.
+
+# test failures; keep going
+COMPONENT_TEST_ARGS += -k -i
+
+# different results for different architectures
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH$(BITS)).master
+
 test:		$(TEST_32)
 
 # php-sapi does the publish