Hi, I've run into a weird problem (using CMake 2.8 rc3). I want to use a python script as a test-runner, and CTest crashes as a result. If I run with -VV -debug, I can see this output before it crashes. If I run exactly the same command line from the command prompt, everything works as expected.
I browsed a bit to see whether running Python scripts this way is supported at all, and an old post on this mailing list suggested to explicitly specify the python executable -- however, the OP didn't get a crash, so I thought some stuff may have changed since then. FWIW, I have a x64 Python installed. I tried used ctest --debug -VV --force-new-ctest-process -C Debug and I also tried without --force-new-ctest-process, but both result in CTest crashing Cheers, Anteru 5: Test command: D:\Dev\Current\nw\trunk\build\tools\FuncTestRunner.py --config Debug D:/Dev/Current/nw-build/bin D:/Dev/Current/nw/trunk/tests/Testc/c.xml C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/cmCTest.cxx:152 Current_Time: Oct 14 21:19 Mitteleuropõische Sommerzeit C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:438 5: Test timeout computed to be: 9.99988e+006 C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:453 5/ C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:455 5 C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:463 Test C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:470 #5: C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:471 C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:502 FunctionalTestc ............. C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:504 Testing FunctionalTestc ... C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:182 ***Bad command 1 C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestRun Test.cxx:189 0.00 sec C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/cmCTest.cxx:152 Current_Time: Oct 14 21:19 Mitteleuropõische Sommerzeit C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/cmCTest.cxx:152 Current_Time: Oct 14 21:19 Mitteleuropõische Sommerzeit C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/cmCTest.cxx:152 Current_Time: Oct 14 21:19 Mitteleuropõische Sommerzeit C:/cygwin/home/dashboard/CMakeReleaseDirectory/CMake-2-8/Source/CTest/cmCTestTes tHandler.cxx:586 80% tests passed, 1 tests failed out of 5 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake