75 |
75 |
76 # Master test results are the same for 32-bit and 64-bit, so override |
76 # Master test results are the same for 32-bit and 64-bit, so override |
77 # here, rather than create multiple identical master files. |
77 # here, rather than create multiple identical master files. |
78 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
78 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
79 |
79 |
|
80 # Needed to build the test program. |
|
81 COMPONENT_PRE_SYSTEM_TEST_ACTION += \ |
|
82 (cd $(@D) ; $(GMAKE) libreadline.a ) ; |
|
83 |
|
84 # Build the test program. |
|
85 COMPONENT_PRE_SYSTEM_TEST_ACTION += \ |
|
86 (cd $(@D)/examples ; $(GMAKE) rlcat ) ; |
|
87 |
|
88 # Get correct libreadline.so.6 from the proto area. |
|
89 TEST_LIBPATH.32 = $(PROTOUSRLIBDIR) |
|
90 TEST_LIBPATH.64 = $(PROTOUSRLIBDIR64) |
|
91 COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS)) |
|
92 |
|
93 COMPONENT_SYSTEM_TEST_DIR = $(@D)/examples |
|
94 COMPONENT_SYSTEM_TEST_CMD = $(CAT) $(SOURCE_DIR)/examples/Inputrc | ./rlcat |
|
95 COMPONENT_SYSTEM_TEST_TARGETS = |
|
96 |
80 # Macros to configure, build, and install the old version for the time being. |
97 # Macros to configure, build, and install the old version for the time being. |
81 BUILD_OLD_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32) |
98 BUILD_OLD_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32) |
82 BUILD_OLD_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64) |
99 BUILD_OLD_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64) |
83 |
100 |
84 $(BUILD_OLD_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure |
101 $(BUILD_OLD_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure |