Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTest fails on Windows in CI #19

Closed
mdpiper opened this issue Oct 16, 2023 · 1 comment
Closed

CTest fails on Windows in CI #19

mdpiper opened this issue Oct 16, 2023 · 1 comment

Comments

@mdpiper
Copy link
Member

mdpiper commented Oct 16, 2023

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
@mdpiper
Copy link
Member Author

mdpiper commented Mar 13, 2024

Fixed with #21.

@mdpiper mdpiper closed this as completed Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant