We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7337a99 commit 439955bCopy full SHA for 439955b
llvm/tools/mustache/mustache.cpp
@@ -85,17 +85,20 @@ void runThroughTest(StringRef InputFile) {
85
std::string ActualStr;
86
llvm::raw_string_ostream OS(ActualStr);
87
T.render(*Data, OS);
88
- if (ExpectedStr == ActualStr)
+ if (ExpectedStr == ActualStr) {
89
Success++;
90
- else
+ } else {
91
llvm::outs() << "Test Failed: " << Name << "\n";
92
+ }
93
Total++;
94
}
95
+
96
llvm::outs() << "Result " << Success << "/" << Total << " succeeded\n";
97
98
int main(int argc, char **argv) {
99
llvm::cl::ParseCommandLineOptions(argc, argv);
- for (const auto &FileName : InputFiles)
100
+ for (const auto &FileName : InputFiles) {
101
runThroughTest(FileName);
102
103
return 0;
104
0 commit comments