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

Use ctest to execute external JSON tests #998

Open
chfast opened this issue Sep 11, 2024 · 0 comments
Open

Use ctest to execute external JSON tests #998

chfast opened this issue Sep 11, 2024 · 0 comments

Comments

@chfast
Copy link
Member

chfast commented Sep 11, 2024

Currently on CI we just execute e.g. evmone-statetest tests_dir, but this runs in a single thread. We can use ctest to wrap the test execution for 2 benefits:

  • tests executed in parallel,
  • XML test result output understandable by CircleCI.

We don't have to mix it in the main CMake. We can write or generate CTestTestfile.cmake files. See documentation: https://cmake.org/cmake/help/book/mastering-cmake/chapter/Testing%20With%20CMake%20and%20CTest.html#testing-using-ctest.

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