From ce40b8b7ef1c7b3c8355233825265f2d49dc4ddd Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Mon, 5 Jan 2015 12:15:24 +0100 Subject: Android: Fix QCryptographicHash test Include test data in qrc when building on Android. Change-Id: I611ca24fe8764eb709b6ce27e814840ea919d4f1 Reviewed-by: BogDan Vatra --- tests/auto/corelib/tools/qcryptographichash/qcryptographichash.pro | 5 +++++ tests/auto/corelib/tools/qcryptographichash/testdata.qrc | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/auto/corelib/tools/qcryptographichash/testdata.qrc (limited to 'tests/auto/corelib/tools/qcryptographichash') diff --git a/tests/auto/corelib/tools/qcryptographichash/qcryptographichash.pro b/tests/auto/corelib/tools/qcryptographichash/qcryptographichash.pro index f7725ab188..941a068f8e 100644 --- a/tests/auto/corelib/tools/qcryptographichash/qcryptographichash.pro +++ b/tests/auto/corelib/tools/qcryptographichash/qcryptographichash.pro @@ -5,3 +5,8 @@ SOURCES = tst_qcryptographichash.cpp TESTDATA += data/* DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 + +android: !android-no-sdk { + RESOURCES += \ + testdata.qrc +} diff --git a/tests/auto/corelib/tools/qcryptographichash/testdata.qrc b/tests/auto/corelib/tools/qcryptographichash/testdata.qrc new file mode 100644 index 0000000000..8f7bcea63c --- /dev/null +++ b/tests/auto/corelib/tools/qcryptographichash/testdata.qrc @@ -0,0 +1,6 @@ + + + data/2c1517dad3678f03917f15849b052fd5.md5 + data/d41d8cd98f00b204e9800998ecf8427e.md5 + + -- cgit v1.2.3