That doesn't work, I still end up with the \$ in the CTestTestfile.cmake
and the variable unevaluated at runtime.
I've been trying all day to get ctest to read a CTestCustom.cmake file but
I can't seem to get that working either - how do you use
ctest_read_custom_files in a generator command?
On Sat, Mar 7, 2015 at 4:51 PM, Jim Edwards wrote:
> I'm trying to pass a variable to ctest that will only be evaluated at
> runtime.
> If I hand edit the add_test command I can get it to work, the hand edited
> add test looks like:
>
> add_test(piotest "runjob" "--np" "4" "--block" "$ENV{COBALT_
I'm trying to pass a variable to ctest that will only be evaluated at
runtime.
If I hand edit the add_test command I can get it to work, the hand edited
add test looks like:
add_test(piotest "runjob" "--np" "4" "--block" "$ENV{COBALT_PARTITION}" ":"
"/gpfs/piotest")
​But I can't get cmake to gene