In Paludis 0.64.0 and above a expecting_tests() was added to exheres-0. Make 
sure your Paludis is newer than 0.64.0.

- expecting_tests:
    Query whether test phases are expected to be run. This allows you to tell
    a configure script whether a test dependency is needed, or to disable
    building of tests in the compile phase if they aren’t going to run later.

For more details see:

http://exherbo.org/docs/exheres-for-smarties.html#exheres0list_functionsbash

Today the Paludis exheres has started using it for allowing gtest to be a 
test: dependency rather than a build: dependency:

    econf $(expecting_tests && echo --enable-gtest || echo --disable-gtest)

-- 
Bo Andresen

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Exherbo-dev mailing list
[email protected]
http://lists.exherbo.org/mailman/listinfo/exherbo-dev

Reply via email to