[CMake] ctest dependencies

Tom Browder tom.browder at gmail.com
Mon Feb 3 06:48:02 EST 2014


On Mon, Feb 3, 2014 at 3:20 AM, Petr Kmoch <petr.kmoch at gmail.com> wrote:
> Hi Tom.
>
> You might want to look into the DEPENDS property of tests.

Hi, Petr.

I had looked into properties, but I'm not sure what property I'm
looking for.  For instance I'm using:

  PROPERTIES WILL_FAIL true

but I need to find the property ctest gets for a pass/fail from each test.

That way I can add something like

  set_test_properties(TESTB TESTC TESTD
    PROPERTY TESTA_MUST_PASS true
  )

Do you know what that is or how to do it?

Thanks.

-Tom


More information about the CMake mailing list