components/libffi/Makefile
changeset 5266 028461eee75e
parent 5265 444c51b844e7
child 5682 94c0ca64c022
--- a/components/libffi/Makefile	Wed Jan 13 10:21:51 2016 -0800
+++ b/components/libffi/Makefile	Wed Jan 13 10:30:45 2016 -0800
@@ -43,6 +43,16 @@
 
 CC +=		$(CC_BITS)
 
+COMPONENT_TEST_DIR =	$(@D)/testsuite
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+
+COMPONENT_TEST_TRANSFORMS += \
+	'-e "s|^Test Run By.*$$|XXX_REMOVE_XXX|g" ' \
+	'-e "s|^Native configuration is.*$$|XXX_REMOVE_XXX|g" ' \
+	'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
+	'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
+	'-e "/^XXX_REMOVE_XXX$$/d" '
+
 CFLAGS += -DFFI_MMAP_EXEC_WRIT=1
 
 CONFIGURE_OPTIONS += --enable-raw-api=no
@@ -56,7 +66,7 @@
 
 install:        $(INSTALL_32_and_64)
 
-test:           $(NO_TESTS)
+test:           $(TEST_32_and_64)
 
 system-test:    $(NO_TESTS)