configure: allow libraries to create explicitly empty tests
this allows compile-testing the specified headers with no further tests. Change-Id: I268ff328deee221d9b92386fe2bd133b19a6f8e2 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
65463764f2
commit
cf51bcba10
@ -982,7 +982,7 @@ defineTest(qtConfHandleLibrary) {
|
||||
export($${lpfx}.source)
|
||||
|
||||
# if the library defines a test, use it to verify the source.
|
||||
!isEmpty($${lpfx}.test)|!isEmpty($${lpfx}.test._KEYS_) {
|
||||
defined($${lpfx}.test, var)|defined($${lpfx}.test._KEYS_, var) {
|
||||
$${lpfx}.resolved_uses = $$currentConfig:$$1
|
||||
$${lpfx}.host = $$eval($${spfx}.host)
|
||||
!qtConfTest_compile($$lpfx) {
|
||||
|
Loading…
Reference in New Issue
Block a user