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

Actually run the tests on Windows using RunTests #396

Closed
wants to merge 3 commits into from

Conversation

emlowe
Copy link
Contributor

@emlowe emlowe commented Sep 5, 2023

Windows was running the tests with ctest - this actually wasn't running any tests:

Test project D:/a/chiapos/chiapos/build-win
No tests were found!!!

@@ -82,4 +82,4 @@ jobs:
cd build-win
cmake ..
cmake --build . --config Release -j 6
ctest -C Release -j 6
./RunTests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RunTests.exe

Copy link
Member

@hoffmang9 hoffmang9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those darn slashes

@emlowe emlowe marked this pull request as ready for review September 5, 2023 23:41
@emlowe
Copy link
Contributor Author

emlowe commented Sep 5, 2023

Needed the correct location too - was in the Release directory and not the current one. I got it on the 3rd try though :-)

@cmmarslender
Copy link
Contributor

The original command (ctest -C Release -j 6) works again now after #402 was merged. It was broken when the compressed harvesting PR merged and had commented out the last couple of lines in the cmake file that disabled adding the tests.

Is there a benefit to running the tests this way vs using ctest now that ctest works again?

@emlowe
Copy link
Contributor Author

emlowe commented Oct 23, 2023

Confirmed that the tests are running now in the workflow, it seems best to just leave it running via ctest - closing PR

@emlowe emlowe closed this Oct 23, 2023
@emlowe emlowe deleted the EL-windows-tests branch September 10, 2024 20:42
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

Successfully merging this pull request may close these issues.

3 participants