Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
I have no objections in general..
But let add the line
std::cout << done() << std::endl;
before return 0;
- our test system searching for a special marker in a log - "done" or "passed"; otherwise a test is failed.
- to be consistent with the rest test units.
Would it be possible to have your test system check for a non-zero exit code as a failure indication? This is that CMake and lit use, and we're not going to keep all these cout calls there forever.
Eventually, I tend to that keeping "cout" code is redundant , just "return 0" is enough.
We will try to re-config our test system to accept just returning zero;
That would be great! Another nice side effect of this is that we could stop using <iostreams> everywhere, which is both not really in line with the rest of the libc++ test suite, and also extremely costly in terms of compilation time. I'm sure you've noticed that the tests were not exactly fast to compile :-).