--- 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