mbroadst / qamqp

AMQP 0.9.1 implementation for Qt
Other
151 stars 128 forks source link

Skip test installation #8

Closed Erihel closed 10 years ago

Erihel commented 10 years ago

How can I skip test installation? Tests do not follow PREFIX variable as library does and they always end up in "/usr". Shouldn't test be just run and not installed?

mbroadst commented 10 years ago

Hey, what platform are you running on? I've tested this in qt4/osx and qt5/ubuntu14.04 and tests are not being installed on either. Maybe I'm missing something?

Erihel commented 10 years ago

Arch linux. Tests are being installed when I use qmake 5.3.2. With qmake 4.8.6 tests are not installed.

Edit: After some reading and testing. If I change tests.pri from testcase to insignificant_test everything works under qmake 5.3.2. Test are compiled but not installed.

mbroadst commented 10 years ago

Hey, it looks like the testcase feature was updated in qt5 to install tests by default, fixed with ad19dc326df073047dfddd334355a57dfe2e6c8e. Thanks for the report!