Skip to content

Commit 03cfefc

Browse files
committed
cmake: propagate CBLAS test failures on Windows
1 parent 8ac4180 commit 03cfefc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ctest/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ if(WIN32)
1818
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_cblas_helper.ps1
1919
"$ErrorActionPreference = \"Stop\"\n"
2020
"Get-Content $args[1] | & $args[0]\n"
21+
"exit $LASTEXITCODE\n"
2122
)
2223
set(test_helper powershell -ExecutionPolicy Bypass "${CMAKE_CURRENT_BINARY_DIR}/test_cblas_helper.ps1")
2324
else()

0 commit comments

Comments
 (0)