Tests: fix json test for Android

test.bjon file doesn't exist, however, it's still included in json.qrc.
That causes the test to fail on Android because it's using that resource
file.

Change-Id: I1e93076069073a1a621459a7d90aec5c0c03f768
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Assam Boudjelthia 2020-09-15 11:16:43 +03:00
parent 3bab2d234e
commit 588cbca5b7
2 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,8 @@ TARGET = tst_json
QT = core-private testlib
CONFIG += testcase
!android:TESTDATA += bom.json test.json test.bjson test3.json test2.json
else:RESOURCES += json.qrc
!android:TESTDATA += bom.json test.json test3.json test2.json
else:RESOURCES += json.qrc
!qtConfig(doubleconversion):!qtConfig(system-doubleconversion) {
DEFINES += QT_NO_DOUBLECONVERSION

View File

@ -4,6 +4,5 @@
<file>test2.json</file>
<file>test3.json</file>
<file>test.json</file>
<file>test.bjson</file>
</qresource>
</RCC>