components/swig/Makefile
changeset 3761 7eba66b644d2
parent 2225 f064d3d3190d
child 3808 93f1c7645ce7
--- a/components/swig/Makefile	Tue Feb 10 09:31:36 2015 -0800
+++ b/components/swig/Makefile	Tue Feb 10 14:45:29 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
 
@@ -48,6 +48,12 @@
 CONFIGURE_OPTIONS +=	CXXFLAGS="$(CXXFLAGS)"
 CONFIGURE_OPTIONS +=	--with-javaincl="$(JAVA_HOME)/include"
 
+# The additional swig specific set of transforms to be applied to the
+# test results to try to normalize them.
+COMPONENT_TEST_TRANSFORMS += \
+	'-e "s|\(Compiled with $(CXX)\).*|Compiled with \\$$(CXX)|" ' \
+	'-e "s|$(CC)|\\$$(CC)|g" '
+
 ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets