[Insight-developers] command-line arguments to tests
Lorensen, William E (Research)
lorensen@crd.ge.com
Fri, 3 May 2002 10:56:54 -0400
Look at the Connected filters in Basicfilters' CMakeLists.txt
-----Original Message-----
From: Tessa Sundaram [mailto:tessa@rad.upenn.edu]
Sent: Friday, May 03, 2002 10:54 AM
To: insight-developers@public.kitware.com
Subject: [Insight-developers] command-line arguments to tests
Hi everyone,
What's the correct syntax for providing "command-line" arguments to a
test in the CMakeLists.txt file? The CMake docs list it as
ADD_TEST(testName exeName arg1 arg2 ....)
while the BasicFiltersTests CMakeLists.txt file uses
ADD_TEST(testName exeName testName arg1 arg2 ....).
I've tried both of these for the FEM tests and haven't gotten either one
to work. Code and CMakeLists.txt file attached. Thanks for your help!
-ts