-
Notifications
You must be signed in to change notification settings - Fork 363
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
Migration to ctest
#3314
Comments
Thanks for the suggestion. I haven't really looked at ctest yet. As we're migrating to CMake we should presumably also integrate with ctest. That being said, our |
I don't suggest to completely retire it, just to gradually remove some functionalities out of it, as things are being covered by |
PS: Feel free to check my template about a design for the |
Just saw that |
I had a look on the
do_regtest.py
, and I would suggest to convert this script to native ctest, because:PROCESSORS
test property, i.e. it can account forctest
,mpi
, andopenmp
parallelizationctest
can reschedule the test execution order based on the previous test runtime costProposed migration procedure:
add_test
cp2k_add_test
) that callscp2k
and sets appropriate regex evaluations:PASS_REGULAR_EXPRESSION
SKIP_REGULAR_EXPRESSION
FAIL_REGULAR_EXPRESSION
cp2k_add_test
regression tests based on the folder structureunit
,regression
,smoke
, etc.PROCESSORS
property for parallelizing tests5b. (optional) Add handling of
CTEST_RESOURCE_GROUP_*
to efficiently parallelize GPU tests as welldo_regtest.py
depending on CMake migrationAnother use-case for
do_regtest.py
is to perform individual test evaluation, i.e. passing the full executable path, test name and additional input variables, the script would run the test and evaluate the stdout and everything else.The text was updated successfully, but these errors were encountered: