[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestBatchTestHandler.cxx 1.2 1.3 cmCTestBatchTestHandler.h 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 21 14:21:44 EDT 2009
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv1689
Modified Files:
cmCTestBatchTestHandler.cxx cmCTestBatchTestHandler.h
Log Message:
Need to quote args when generating batch scripts from ctest
Index: cmCTestBatchTestHandler.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBatchTestHandler.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** cmCTestBatchTestHandler.h 10 Sep 2009 15:18:05 -0000 1.1
--- cmCTestBatchTestHandler.h 21 Sep 2009 18:21:41 -0000 1.2
***************
*** 1,2 ****
--- 1,19 ----
+ /*=========================================================================
+
+ Program: CMake - Cross-Platform Makefile Generator
+ Module: $RCSfile$
+ Language: C++
+ Date: $Date$
+ Version: $Revision$
+
+ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
+ See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the above copyright notices for more information.
+
+ =========================================================================*/
+
#ifndef cmCTestBatchTestHandler_h
#define cmCTestBatchTestHandler_h
Index: cmCTestBatchTestHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBatchTestHandler.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** cmCTestBatchTestHandler.cxx 14 Sep 2009 15:23:20 -0000 1.2
--- cmCTestBatchTestHandler.cxx 21 Sep 2009 18:21:41 -0000 1.3
***************
*** 1,2 ****
--- 1,19 ----
+ /*=========================================================================
+
+ Program: CMake - Cross-Platform Makefile Generator
+ Module: $RCSfile$
+ Language: C++
+ Date: $Date$
+ Version: $Revision$
+
+ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
+ See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the above copyright notices for more information.
+
+ =========================================================================*/
+
#include "cmCTestBatchTestHandler.h"
#include "cmProcess.h"
***************
*** 24,28 ****
std::fstream fout;
fout.open(this->Script.c_str(), std::ios::out);
! fout << "# !/bin/sh\n";
for(TestMap::iterator i = this->Tests.begin(); i != this->Tests.end(); ++i)
--- 41,45 ----
std::fstream fout;
fout.open(this->Script.c_str(), std::ios::out);
! fout << "#!/bin/sh\n";
for(TestMap::iterator i = this->Tests.begin(); i != this->Tests.end(); ++i)
***************
*** 91,95 ****
for(; i != args.end(); ++i)
{
! fout << *i << " "; //args to the test executable
}
//TODO ZACH build TestResult.FullCommandLine
--- 108,112 ----
for(; i != args.end(); ++i)
{
! fout << "\"" << *i << "\" "; //args to the test executable
}
//TODO ZACH build TestResult.FullCommandLine
More information about the Cmake-commits
mailing list