summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qcryptographichash/CMakeLists.txt
blob: cea74758ccd5e67df070c4ccc74a4e8c452943b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Generated from qcryptographichash.pro.

#####################################################################
## tst_qcryptographichash Test:
#####################################################################

# Collect test data
file(GLOB_RECURSE test_data_glob
    RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    data/*)
list(APPEND test_data ${test_data_glob})

qt_internal_add_test(tst_qcryptographichash
    SOURCES
        tst_qcryptographichash.cpp
    TESTDATA ${test_data}
)

## Scopes:
#####################################################################

if(ANDROID OR INTEGRITY)
    # Resources:
    set(testdata_resource_files
        "data/2c1517dad3678f03917f15849b052fd5.md5"
        "data/d41d8cd98f00b204e9800998ecf8427e.md5"
    )

    qt_internal_add_resource(tst_qcryptographichash "testdata"
        PREFIX
            "/"
        FILES
            ${testdata_resource_files}
    )
endif()