[CMake] running python tests

Mattia Tomasoni Mattia.Tomasoni.8371 at student.uu.se
Wed Aug 25 10:39:46 EDT 2010

I am using Cmake to run some tests after building my executable; my
tests are .sh scripts. I would like them to be Python scripts instead.
I wrote the following test script:

print "success"

While the correspondent shell script will work, the Python equivalent
exits complaining "Errors while running CTest".

Could anyone point to the appropriate documentation or explain how to
let CTest know that I want the Python interpreter to execute the script?

Thank you,

More information about the CMake mailing list