Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 3m16s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 13m8s
Foundation / checks (checks) (push) Canceled after 13m12s
Foundation / checks (postgres) (push) Canceled after 13m2s
Foundation / checks (network) (push) Canceled after 13m4s
Foundation / checks (tsan) (push) Canceled after 13m9s
17 lines
784 B
CMake
17 lines
784 B
CMake
file(MAKE_DIRECTORY "${TEST_DIR}")
|
|
execute_process(COMMAND "${POPULATION_TEST}" --checkpoint "${TEST_DIR}/checkpoint.pop"
|
|
"${TEST_DIR}/expected.pop" RESULT_VARIABLE prepared)
|
|
if(NOT prepared EQUAL 0)
|
|
message(FATAL_ERROR "Population checkpoint preparation failed: ${prepared}")
|
|
endif()
|
|
execute_process(COMMAND "${POPULATION_TEST}" --resume "${TEST_DIR}/checkpoint.pop"
|
|
"${TEST_DIR}/resumed.pop" RESULT_VARIABLE resumed)
|
|
if(NOT resumed EQUAL 0)
|
|
message(FATAL_ERROR "Fresh-process population recovery failed: ${resumed}")
|
|
endif()
|
|
execute_process(COMMAND "${CMAKE_COMMAND}" -E compare_files "${TEST_DIR}/expected.pop"
|
|
"${TEST_DIR}/resumed.pop" RESULT_VARIABLE compared)
|
|
if(NOT compared EQUAL 0)
|
|
message(FATAL_ERROR "Population state diverged across process recovery")
|
|
endif()
|