I want to submit to dashboard as well, preferably. In addition, I also
want tests of my dependencies (which are usually above the current
directory, elsewhere in the tree) to be built & ran as well.
On Wed, Sep 12, 2012 at 1:54 PM, David Cole wrote:
> Similar to running 'make' in a sub-directory
Similar to running 'make' in a sub-directory to build just that
directory and below... running 'ctest' in a sub-directory will just
run the tests for that directory.
Are you asking to be able just to run the tests, or to submit just
those tests to a dashboard?
Just running them is already possibl
I prefix test names with the name of the component they test, so
a/tests/CMakeLists.txt:
add_test(a/test_foo test_foo)
b/tests/CMakeLists.txt:
add_test(b/test_foo test_foo)
Then, ctest -R '^a/' from toplevel works.
Sent from my iPhone
On Sep 12, 2012, at 14:12, Robert Dailey wrote:
> The so
The source repository at our company is structured for two products.
Both products have a large amount of shared targets, but there are
certain subdirectories in the tree that are product-specific. Each of
the product-specific targets have their own unit tests (and all common
targets have them as w