Running ctest on the project's unit tests fails on Windows in CI. Works on Linux and macOS in CI. Works locally on Windows. All tests fail with a segfault, so there's not a lot to go on.
Here's the first test:
> Run ctest -C Release -VV --output-on-failure
UpdateCTestConfiguration from :D:/a/bmi-example-fortran/bmi-example-fortran/build/DartConfiguration.tcl
Parse Config file:D:/a/bmi-example-fortran/bmi-example-fortran/build/DartConfiguration.tcl
UpdateCTestConfiguration from :D:/a/bmi-example-fortran/bmi-example-fortran/build/DartConfiguration.tcl
Parse Config file:D:/a/bmi-example-fortran/bmi-example-fortran/build/DartConfiguration.tcl
Test project D:/a/bmi-example-fortran/bmi-example-fortran/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: test_get_component_name
1: Test command: D:\a\bmi-example-fortran\bmi-example-fortran\build\test\test_get_component_name.exe "D:/a/bmi-example-fortran/bmi-example-fortran/test/sample.cfg"
1: Working Directory: D:/a/bmi-example-fortran/bmi-example-fortran/build/test
1: Test timeout computed to be: 1500
1/49 Test #1: test_get_component_name ..........Exit code 0xc0000135
***Exception: 0.02 sec
Running
ctest
on the project's unit tests fails on Windows in CI. Works on Linux and macOS in CI. Works locally on Windows. All tests fail with a segfault, so there's not a lot to go on. Here's the first test: