Move buffer unit test from Runtime directory to RuntimeGtest directory and use GTest. Test coverage is only maintained.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@awarzynski This is just the minimum to pull the test into gtest. I would like to add documentation and death tests for failure conditions - do you have any suggestions for this? I think once we have those two criteria met we can add more reviewers.
Comment Actions
Apologies for taking so long to comment!
IMHO, this is sufficient. I've tried to produce a death test, but this particular API makes it tricky (i.e. I'm finding it hard to make it crash), which is a good thing!
I'm in favor of merging this as is. The only thing that's missing is the standard LLVM header at the top.
Comment Actions
@awarzynski Sounds good! I'll add a few more reviewers and wait a bit before merging.
flang/unittests/RuntimeGTest/BufferTest.cpp | ||
---|---|---|
1 | Missing LLVM header ;-) |
Missing LLVM header ;-)