diff options
Diffstat (limited to 'test/run.cmake')
-rw-r--r-- | test/run.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run.cmake b/test/run.cmake index 560327e..854cf8c 100644 --- a/test/run.cmake +++ b/test/run.cmake @@ -47,8 +47,8 @@ foreach(o result stdout stderr ${maybe_xml}) set(expect-${o} "") unset(expect_${o}) foreach(e ${expect}) - if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/expect/${e}-${o}.txt) - file(READ ${CMAKE_CURRENT_LIST_DIR}/expect/${e}-${o}.txt expect_${o}) + if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/expect/${e}.${o}.txt) + file(READ ${CMAKE_CURRENT_LIST_DIR}/expect/${e}.${o}.txt expect_${o}) break() endif() endforeach() |