[CMake] running python tests
Mattia Tomasoni
Mattia.Tomasoni.8371 at student.uu.se
Wed Aug 25 10:38:06 EDT 2010
Hello,
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"
exit(0)
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,
Mattia
More information about the CMake
mailing list