Lines 35-45
Link Here
|
35 |
if has test ${FEATURES} ; then |
35 |
if has test ${FEATURES} ; then |
36 |
CHECKREQS_DISK_BUILD="1024" |
36 |
CHECKREQS_DISK_BUILD="1024" |
37 |
check_reqs |
37 |
check_reqs |
38 |
|
38 |
ewarn "The testsuite may take several hours to run on a modern system." |
39 |
ewarn "The tests may take several hours on a recent machine" |
39 |
ewarn "It is normal to see some tests failing, as some are dependent" |
40 |
ewarn "but they will not fail (unless something weird happens ;-)" |
40 |
ewarn "on compiler version and platform. Unless something weird" |
41 |
ewarn "This is because the tests depend on the used compiler/-version" |
41 |
ewarn "happens, the ebuild should continue installing as normal." |
42 |
ewarn "and the platform and upstream says that this is normal." |
42 |
ewarn |
43 |
ewarn "If you are interested in the results, please take a look at the" |
43 |
ewarn "If you are interested in the results, please take a look at the" |
44 |
ewarn "generated results page:" |
44 |
ewarn "generated results page:" |
45 |
ewarn " ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html" |
45 |
ewarn " ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html" |
Lines 73-79
Link Here
|
73 |
# Using optimization=off would for example add |
73 |
# Using optimization=off would for example add |
74 |
# "-O0" and override "-O2" set by the user. |
74 |
# "-O0" and override "-O2" set by the user. |
75 |
# Please take a look at the boost-build ebuild |
75 |
# Please take a look at the boost-build ebuild |
76 |
# for more infomration. |
76 |
# for more information. |
77 |
|
77 |
|
78 |
OPTIONS="gentoorelease" |
78 |
OPTIONS="gentoorelease" |
79 |
use debug && OPTIONS="gentoodebug" |
79 |
use debug && OPTIONS="gentoodebug" |
Lines 157-162
Link Here
|
157 |
${OPTIONS} \ |
157 |
${OPTIONS} \ |
158 |
--prefix="${D}/usr" \ |
158 |
--prefix="${D}/usr" \ |
159 |
--layout=system \ |
159 |
--layout=system \ |
|
|
160 |
process_jam_log compiler_status \ |
160 |
|| die "building regression test helpers failed" |
161 |
|| die "building regression test helpers failed" |
161 |
fi |
162 |
fi |
162 |
|
163 |
|
Lines 247-253
Link Here
|
247 |
--dump-tests 2>&1 | tee regress.log |
248 |
--dump-tests 2>&1 | tee regress.log |
248 |
|
249 |
|
249 |
# Postprocessing |
250 |
# Postprocessing |
250 |
cat regress.log | "${S}/dist/bin/process_jam_log" --v2 |
251 |
process_jam_log=$(find "${S}"/tools/regression/build/bin -name process_jam_log -print); |
|
|
252 |
compiler_status=$(find "${S}"/tools/regression/build/bin -name compiler_status -print); |
253 |
|
254 |
cat regress.log | "${process_jam_log}" --v2 |
251 |
if test $? != 0 ; then |
255 |
if test $? != 0 ; then |
252 |
die "Postprocessing the build log failed" |
256 |
die "Postprocessing the build log failed" |
253 |
fi |
257 |
fi |
Lines 257-263
Link Here
|
257 |
__EOF__ |
261 |
__EOF__ |
258 |
|
262 |
|
259 |
# Generate the build log html summary page |
263 |
# Generate the build log html summary page |
260 |
"${S}/dist/bin/compiler_status" --v2 \ |
264 |
"${compiler_status}" --v2 \ |
261 |
--comment "${S}/status/comment.html" "${S}" \ |
265 |
--comment "${S}/status/comment.html" "${S}" \ |
262 |
cs-$(uname).html cs-$(uname)-links.html |
266 |
cs-$(uname).html cs-$(uname)-links.html |
263 |
if test $? != 0 ; then |
267 |
if test $? != 0 ; then |