blob: 748d14f85a5ba5d2d645731ab9256d9e3ce643a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
file(STRINGS ${RunCMake_TEST_BINARY_DIR}/test.txt TEST_TXT)
list(GET TEST_TXT 0 PDB_PATH)
list(GET TEST_TXT 1 PDB_NAME)
list(GET TEST_TXT 2 PDB_DIR)
if(NOT PDB_PATH MATCHES "empty\\.pdb")
message(FATAL_ERROR "unexpected PDB_PATH [${PDB_PATH}]")
endif()
if(NOT PDB_NAME STREQUAL "empty.pdb")
message(FATAL_ERROR "unexpected PDB_NAME [${PDB_NAME}]")
endif()
if(PDB_DIR MATCHES "empty\\.pdb")
message(FATAL_ERROR "unexpected PDB_DIR [${PDB_DIR}]")
endif()
|