make-rules/shared-macros.mk
changeset 3747 d2f2bcf116e8
parent 3701 2c4a1656e035
child 3750 60902b5c3237
--- a/make-rules/shared-macros.mk	Fri Feb 06 14:09:12 2015 -0800
+++ b/make-rules/shared-macros.mk	Fri Feb 06 15:43:34 2015 -0800
@@ -239,6 +239,9 @@
 # set the default test snapshot file
 COMPONENT_TEST_SNAPSHOT =	$(COMPONENT_TEST_RESULTS_DIR)/results-$(BITS).snapshot
 
+# Normally $(GSED) is simplest, but some results files need more power.
+COMPONENT_TEST_TRANSFORMER =	$(GSED)
+
 # The set of default transforms to be applied to the test results to try
 # to normalize them.
 COMPONENT_TEST_TRANSFORMS = \
@@ -252,7 +255,7 @@
 	if [ -e $(COMPONENT_TEST_MASTER) ]; \
 	then \
 		print "\#!/bin/sh" > $(COMPONENT_TEST_TRANSFORM_CMD); \
-        	print '$(GSED) ' \
+        	print '$(COMPONENT_TEST_TRANSFORMER) ' \
 			$(COMPONENT_TEST_TRANSFORMS) \
                 	' \\' >> $(COMPONENT_TEST_TRANSFORM_CMD); \
         	print '$(COMPONENT_TEST_OUTPUT) \\' \