aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/CMakeLists.txt
blob: 26c0a5879cfadf315809d9cd5899c6fe4f29f015 (plain) (blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
find_package(Python3 REQUIRED COMPONENTS Interpreter)

add_test(NAME nist COMMAND Python3::Interpreter
    "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/tools/ctest-driver.py"
    run
    --pass-regex [=[Succeeded: *30$]=]
    --fail-regex [=[Failed: *[1-9]]=]
    --
    "$<TARGET_FILE:Python3::Interpreter>"
    "${CMAKE_CURRENT_SOURCE_DIR}/nist.py"
    --path "$<TARGET_FILE_DIR:util_encrypt_block>")
add_test(NAME nist_boxes COMMAND Python3::Interpreter
    "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/tools/ctest-driver.py"
    run
    --pass-regex [=[Succeeded: *30$]=]
    --fail-regex [=[Failed: *[1-9]]=]
    --
    "$<TARGET_FILE:Python3::Interpreter>"
    "${CMAKE_CURRENT_SOURCE_DIR}/nist.py"
    --path "$<TARGET_FILE_DIR:util_encrypt_block>"
    --boxes)
add_test(NAME cavp COMMAND Python3::Interpreter
    "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/tools/ctest-driver.py"
    run
    --pass-regex [=[Succeeded: *96$]=]
    --fail-regex [=[Failed: *[1-9]]=]
    --
    "$<TARGET_FILE:Python3::Interpreter>"
    "${CMAKE_CURRENT_SOURCE_DIR}/cavp.py"
    --path "$<TARGET_FILE_DIR:util_encrypt_block>")
add_test(NAME cavp_boxes COMMAND Python3::Interpreter
    "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/tools/ctest-driver.py"
    run
    --pass-regex [=[Succeeded: *96$]=]
    --fail-regex [=[Failed: *[1-9]]=]
    --
    "$<TARGET_FILE:Python3::Interpreter>"
    "${CMAKE_CURRENT_SOURCE_DIR}/cavp.py"
    --path "$<TARGET_FILE_DIR:util_encrypt_block>"
    --boxes)
add_test(NAME file COMMAND Python3::Interpreter
    "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/tools/ctest-driver.py"
    run
    --pass-regex [=[Succeeded: *180$]=]
    --fail-regex [=[Failed: *[1-9]]=]
    --
    "$<TARGET_FILE:Python3::Interpreter>"
    "${CMAKE_CURRENT_SOURCE_DIR}/file.py"
    --path "$<TARGET_FILE_DIR:util_encrypt_file>")