[Cmake-commits] [cmake-commits] hoffman committed TestDriver.cxx.in 1.6 1.6.16.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Dec 2 07:07:43 EST 2008
Update of /cvsroot/CMake/CMake/Templates
In directory public:/mounts/ram/cvs-serv12155/Templates
Modified Files:
Tag: CMake-2-6
TestDriver.cxx.in
Log Message:
ENH: merge in RC 5
Index: TestDriver.cxx.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Templates/TestDriver.cxx.in,v
retrieving revision 1.6
retrieving revision 1.6.16.1
diff -C 2 -d -r1.6 -r1.6.16.1
*** TestDriver.cxx.in 16 Jul 2004 19:18:42 -0000 1.6
--- TestDriver.cxx.in 2 Dec 2008 12:07:41 -0000 1.6.16.1
***************
*** 71,75 ****
fflush(stdout);
testNum = 0;
! scanf("%d", &testNum);
if (testNum >= NumTests)
{
--- 71,79 ----
fflush(stdout);
testNum = 0;
! if( scanf("%d", &testNum) != 1 )
! {
! printf("Couldn't parse that input as a number\n");
! return -1;
! }
if (testNum >= NumTests)
{
More information about the Cmake-commits
mailing list