浏览代码

better formatted output

Ken Martin 24 年之前
父节点
当前提交
d586449a64
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Source/ctest.cxx

+ 2 - 1
Source/ctest.cxx

@@ -128,7 +128,8 @@ void ctest::ProcessDirectory(int &passed, int &failed)
 
       if (name == "ADD_TEST")
         {
-        std::cerr << "Testing " << args[0] << " ... ";
+        fprintf(stderr,"Testing %-30s ",args[0].c_str());
+        //std::cerr << "Testing " << args[0] << " ... ";
         // find the test executable
         std::string testCommand = this->FindExecutable(args[1].c_str());
         // add the arguments