diff options
Diffstat (limited to 'tests/auto/qmake/testdata/operators/operators.pro')
-rw-r--r-- | tests/auto/qmake/testdata/operators/operators.pro | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/auto/qmake/testdata/operators/operators.pro b/tests/auto/qmake/testdata/operators/operators.pro new file mode 100644 index 0000000000..5285c1a982 --- /dev/null +++ b/tests/auto/qmake/testdata/operators/operators.pro @@ -0,0 +1,24 @@ +CONFIG = qt thread + +CONFIG += debug +!contains( CONFIG, debug ) { + message( "FAILED: +=" ) +} + +CONFIG -= thread +contains( CONFIG, thread ) { + message( "FAILED: -=" ) +} + +CONFIG = thread +CONFIG *= thread +!count( CONFIG, 1 ) { + message( "FAILED: *=" ) +} + +CONFIG = thread QT_DLL debug +CONFIG ~= s/QT_+/Q_ +!contains( CONFIG, Q_DLL ) { + message( "FAILED: ~=" ) +} + |