ENH: small formatting enh
This commit is contained in:
parent
85b286f04e
commit
b0eb1031b7
|
@ -130,14 +130,14 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
|
|||
" printf(\"Available tests:\\n\");\n"
|
||||
" for (i =0; i < NumTests; ++i)\n"
|
||||
" {\n"
|
||||
" printf(\"%d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
|
||||
" printf(\"%3d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
|
||||
" }\n"
|
||||
" printf(\"To run a test, enter the test number: \");\n"
|
||||
" int testNum = 0;\n"
|
||||
" scanf(\"%d\", &testNum);\n"
|
||||
" if (testNum >= NumTests)\n"
|
||||
" {\n"
|
||||
" printf(\"%d is an invalid test number.\\n\", testNum);\n"
|
||||
" printf(\"%3d is an invalid test number.\\n\", testNum);\n"
|
||||
" return -1;\n"
|
||||
" }\n"
|
||||
" return (*cmakeGeneratedFunctionMapEntries[testNum].func)(ac-1, av+1);\n"
|
||||
|
@ -177,7 +177,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
|
|||
" printf(\"Available tests:\\n\");\n"
|
||||
" for (i =0; i < NumTests; ++i)\n"
|
||||
" {\n"
|
||||
" printf(\"%d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
|
||||
" printf(\"%3d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
|
||||
" }\n"
|
||||
" printf(\"Failed: %s is an invalid test name.\\n\", av[1]);\n"
|
||||
" \n"
|
||||
|
|
Loading…
Reference in New Issue