73 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)" |
73 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)" |
74 COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)" |
74 COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)" |
75 |
75 |
76 CC += $(CC_BITS) |
76 CC += $(CC_BITS) |
77 |
77 |
78 COMPONENT_TEST_ARGS = -k -i |
78 COMPONENT_TEST_ARGS = -k -i |
|
79 COMPONENT_SYSTEM_TEST_ARGS = -k -i |
79 |
80 |
80 # Master test results are different not only between 32-bit and 64-bit, but |
81 # Master test results are different not only between 32-bit and 64-bit, but |
81 # also between x86 and SPARC (different # of tests run). |
82 # also between x86 and SPARC (different # of tests run). |
82 COMPONENT_TEST_MASTER = \ |
83 COMPONENT_TEST_MASTER = \ |
83 $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH)-$(BITS).master |
84 $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH)-$(BITS).master |
84 |
85 |
85 COMPONENT_TEST_TRANSFORMS += \ |
86 COMPONENT_TEST_TRANSFORMS += \ |
86 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \ |
87 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \ |
87 '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \ |
88 '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \ |
88 '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \ |
89 '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \ |
|
90 '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \ |
|
91 '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \ |
|
92 '-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \ |
|
93 '-e "s|^.*warning:.*$$|XXX_CC_XXX|g" ' \ |
|
94 '-e "s|^.*s up to date.*$$|XXX_CC_XXX|g" ' \ |
89 '-e "/^XXX_CC_XXX$$/d" ' |
95 '-e "/^XXX_CC_XXX$$/d" ' |
|
96 |
|
97 # Get correct libgsl.so from the proto area. |
|
98 TEST_LIBPATH.32 = $(PROTOUSRLIBDIR) |
|
99 TEST_LIBPATH.64 = $(PROTOUSRLIBDIR64) |
|
100 COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS)) |
90 |
101 |
91 # Needed for "gmake test" to work successfully. |
102 # Needed for "gmake test" to work successfully. |
92 # If SHELLOPTS is exported (as it is by the userland makefiles), |
103 # If SHELLOPTS is exported (as it is by the userland makefiles), |
93 # then all shell options get exported to child invocations of bash, |
104 # then all shell options get exported to child invocations of bash, |
94 # which results in test failures due to nounset and xtrace being |
105 # which results in test failures due to nounset and xtrace being |
108 # in Solaris 12 with Studio 12.4 just on the x86 platform: |
119 # in Solaris 12 with Studio 12.4 just on the x86 platform: |
109 # linalg: FAIL: LQ_update m(5,3) [88] (32-bit) |
120 # linalg: FAIL: LQ_update m(5,3) [88] (32-bit) |
110 # caused by 20914954 cblas_gemm differences between x86 and sparcv7 |
121 # caused by 20914954 cblas_gemm differences between x86 and sparcv7 |
111 # linalg: FAIL: cholesky_invert hilbert(4) (64-bit) |
122 # linalg: FAIL: cholesky_invert hilbert(4) (64-bit) |
112 # caused by 20909151 cblas_dsymm differences between amd64 and sparcv9. |
123 # caused by 20909151 cblas_dsymm differences between amd64 and sparcv9. |
113 test: $(TEST_32_and_64) |
124 test: install $(TEST_32_and_64) |
114 |
125 |
115 system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
126 system-test: build $(SYSTEM_TEST_32_and_64) |
116 |
127 |
117 REQUIRED_PACKAGES += shell/ksh93 |
128 REQUIRED_PACKAGES += shell/ksh93 |
118 REQUIRED_PACKAGES += system/library |
129 REQUIRED_PACKAGES += system/library |
119 REQUIRED_PACKAGES += system/library/math |
130 REQUIRED_PACKAGES += system/library/math |
120 REQUIRED_PACKAGES += system/library/openmp |
131 REQUIRED_PACKAGES += system/library/openmp |