Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
b0eb1031
Commit
b0eb1031
authored
Mar 27, 2002
by
Sebastien Barre
Browse files
ENH: small formatting enh
parent
85b286f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmCreateTestSourceList.cxx
View file @
b0eb1031
...
...
@@ -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(
\"
%
3
d. %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(
\"
%
3
d 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(
\"
%
3
d. %s
\\
n
\"
, i, cmakeGeneratedFunctionMapEntries[i].name);
\n
"
" }
\n
"
" printf(
\"
Failed: %s is an invalid test name.
\\
n
\"
, av[1]);
\n
"
"
\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment