This is a well-known problem that does not discuss as a test when performing a "test" as the suggestion Given that the problem can be partially solved with artificial target "investigations". I want to know how to force the construction of tests when I say "make nightly".
What I've done so far:
add_custom_target (buildtests) add_custom_target (check the command "ctyst") add_dependencies (check buildsstation) add_dependencies (nightly builds) add_dependencies Buildtests test1) ... add_dependencies (the creation of testt) now runs "check" runs runs
If you output Let's see,
cmake --help-command add_custom_target
It mentions all logic, "If all the options are specified, then this indicates that this goal is the default build The target should be added so that it can be run every time ". You will need to add this argument to your custom goal, and the night's goal runs a makeup to create everything in the default build goal. Then the following should do this,
add_custom_target (buildtests)
Your second option would be to write a custom CeTest script, which will give you very good granular control of the build and test.
Comments
Post a Comment