CMakeLists.txt 590 Bytes
Newer Older
1
2
3
4
function(add_unit_tests)
    foreach(test ${ARGN})
        add_executable(${test} ${test}.cpp)
        add_test( ${test} ${test} )
5
        target_link_libraries(${test} Qt5::Test KF5::Cddb)
6
7
    endforeach()
endfunction()
8

9
add_unit_tests(
10
11
12
13
14
15
16
17
    asynchttplookuptest
    asynccddblookuptest
    synccddblookuptest
    synchttplookuptest
    utf8test
    musicbrainztest
    asyncmusicbrainztest
    cdinfotest
18
    cachetest
19
    musicbrainztest-severaldiscs
20
    musicbrainztest-fulldate
21
22
23
24
    syncsmtpsubmittest
    asyncsmtpsubmittest
    asynchttpsubmittest
    synchttpsubmittest
25
    sitestest)