components/python/imaging/Makefile
changeset 4096 b5c3f8ed096c
parent 3817 30b42c38bbc4
child 4339 6501cf9c29f9
--- a/components/python/imaging/Makefile	Thu Apr 09 16:20:21 2015 -0500
+++ b/components/python/imaging/Makefile	Fri Apr 10 11:48:05 2015 -0700
@@ -51,6 +51,14 @@
 COMPONENT_TEST_ARGS= ./selftest.py
 COMPONENT_TEST_ENV= PYTHONPATH=$(TEST_PYTHONPATH.$(BITS))
 
+# Master test results are the same for both 32-bit and 64-bit, 
+# for all versions of Python, so override
+# here, rather than create multiple identical master files.
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+
+COMPONENT_TEST_TRANSFORMS += \
+	'-e "s|\(^Binary modules loaded from \).*|\1|" '
+
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
 # common targets