Skip to content

QPhix-Library CMakeList testing option #102

Description

@diptorupd

Now there are two types of testing - gtests and the old t_* tests for timing and data validation against qdp++.

-Dtesting scopes the gtests, and in the root level CMakeList add_subdirectory(tests) is outside the scope of -Dtesting. But inside "tests" CMakeList everything depends on -Dtesting.

I just removed the if( ${testing} ) around everything inside the CMakeList in "tests" directory. Maybe two option flags are needed?

Activity

bjoo commented on Sep 4, 2017

@bjoo
Contributor

bjoo commented on Sep 6, 2017

@bjoo
Contributor

A comment on this. If testing is enabled, and the -Dtm_clover=TRUE is not set, then the tests-gtest solver test fails, as a the qdp_pack_full_clover<> function is not found. A workaround is to always enable the -Dtm_clover=TRUE option for CMake. Dipto, are you doing this? (I think maybe you were not yet aware of the Twisted mass options as they are new, perhaps you are not?) A longer term fix would be to comment out the test/building the test if tm_clover is not defined for CMake.

diptorupd commented on Sep 6, 2017

@diptorupd
ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions