-
Notifications
You must be signed in to change notification settings - Fork 457
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
No output from unit test #779
Comments
This resolved itself when using cmake option |
I think you may have been executing the test incorrectly. From a terminal window, the The |
It's possible something was changed with FAST Farm, but I would expect this to show up in GitHub Actions. The |
Yes I see now that you are right @andrew-platt, ctest can also run the unit tests. I think I just assumed otherwise since ctest was not mentioned in the unit test chapter (3.2.1) in the documentation. And yes, But the unit tests can also be run individually directly through the executables. My very simple error was that either double clicking the .exe, or writing |
I'm reopening this issue to keep alive to suggestion for improving unit test documentation. Thanks @ubrenaf for pointing this out. |
I've moved the test-specific documentation up a level in the table of contents so that its not so hidden. |
Hello, I have compiled openfast via mingw on windows 10 and want to check if it works. But when running the unit tests in each module (openfast/build/unit_tests/module), for example beamdyn_utest, either by
start beamdyn_utest.exe
or just clicking, there is no output / results shown. According to the documentation I should get some feedback so I'm not sure what's wrong or if I missed something?My build process was downloading using
git clone --single-branch --branch dev --recursive https:/...
and compiled withcmake .. -G "MinGW Makefiles" -DBUILD_TESTING=ON
and thenmingw32-make
. I've tried recompiling the test separately bymake beamdyn_utest
but this had no effect. I don't see any errors when configuring, compiling or running either openfast.exe or the tests exe's.The text was updated successfully, but these errors were encountered: