components/libsndfile/Makefile
changeset 3725 57a3df1e928a
parent 2225 f064d3d3190d
child 3817 30b42c38bbc4
--- a/components/libsndfile/Makefile	Tue Feb 03 13:08:48 2015 -0800
+++ b/components/libsndfile/Makefile	Tue Feb 03 13:45:43 2015 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -45,6 +45,15 @@
 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
 CONFIGURE_ENV +=	CXXFLAGS="$(CXXFLAGS)"
 
+# Master test results are the same for 32-bit and 64-bit, so override
+# here, rather than create multiple identical master files.
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+
+# The additional libsndfile specific set of transforms to be applied to the
+# test results to try to normalize them.
+COMPONENT_TEST_TRANSFORMS += \
+	'-e "s|\(^SunOS\).*|\1|" '
+
 ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets