Matthew Leotta wrote:
> 
> On Jan 26, 2009, at 3:04 PM, Brad King wrote:
>> add_test(run_xterm xterm)
>>
>> $ ctest -R run_xterm
>>
>> Then run gdb and the test inside the xterm to see if it fails.  It could
>> be an environment difference.
>>
>> -Brad
>>
> 
> It runs fine from within xterm when xterm is launched as a test by
> ctest.  I suppose this means that the environment setup by ctest is not
> the culprit.  Any other suggestions?

It is also possible that the shell xterm starts changes the environment
back.  Try "xterm -e gdb" to run gdb directly in the terminal.

Otherwise, there is always "printf"-style debugging :(

-Brad

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to