Hello,

I'm wondering if there is a specification for the XML test output file produced by CTest?

Some background: For a dashboard we'd like to know in which CMakeLists.txt a test was created. For that we use the Path tag. Here the baz test was declared in subdir/CMakeLists.txt

                        <Name>baz</Name>
                        <Path>./subdir</Path>
                        <FullName>./subdir/baz</FullName>
                        
<FullCommandLine>/Users/gjasny/Git/Experimental/PP-970-test-case/_build/main</FullCommandLine>

But if I change the WORKING_DIRECTORY property of a test

add_test(NAME custom_workdir COMMAND main)
set_property(TEST custom_workdir PROPERTY WORKING_DIRECTORY /tmp)

it suddenly affects the Path:

                        <Name>custom_workdir</Name>
                        <Path>/tmp</Path>
                        <FullName>/tmp/custom_workdir</FullName>
                        
<FullCommandLine>/Users/gjasny/Git/Experimental/PP-970-test-case/_build/main</FullCommandLine>

What is Path and FullName supposed to contain?

Thanks,
Gregor
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to