Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196149 - dev-libs/openssl: test run twice with USE="test" and FEATURES="test"
Summary: dev-libs/openssl: test run twice with USE="test" and FEATURES="test"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 10:22 UTC by Dustin Polke
Modified: 2007-10-20 04:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log showing test suite rujhnning twice (openssl.build.log,888.72 KB, text/plain)
2007-10-17 10:28 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2007-10-17 10:22:28 UTC
openssl runs testsuite twice because during src_compile() 'make check' is executed when USE=test. However, with FEATURES=test, test suit is run again after successful compile, which is annoying and a waste of time.

Please run 'make check' within src_test() and do not call src_test() from within src_compile(). If you want to call it from within src_compile(), rename the called function and put an einfo into src_test() stating that the test suite has already been executed during compilation.

Thanks.

Reproducible: Always

Steps to Reproduce:
1.emerge openssl with USE=test FEATURE=test
2.
3.

Actual Results:  
Test suite run twice

Expected Results:  
Test suite only run once

I will attach build log showing this behavior.
Comment 1 Dustin Polke 2007-10-17 10:28:28 UTC
Created attachment 133665 [details]
Build log showing test suite rujhnning twice
Comment 2 SpanKY gentoo-dev 2007-10-20 04:20:37 UTC
fixed in 0.9.8g