[CXX-2106] Add Boost.Filesystem as a CMake submodule for testing Created: 03/Sep/20 Updated: 18/Jan/23 Resolved: 18/Jan/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Testing |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Clyde Bazile III (Inactive) | Assignee: | Roberto Sanchez |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | bgtrack | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | CXX Driver Testing (Evergreen) | ||||||||
| Description |
|
C+11 doesn't provide facilities for performing operations on file systems and their components, such as paths, regular files, and directories. C+17 remedies this by giving the Filesystem library. C+14 has an experimental version of this library too. Since we can't traverse files systems, to run tests, we're forced to append all JSON spec tests to files and specify the path to those files in environment variables. This method is error-prone as forgetting to add a JSON test to one of the test files means forgetting to run the test. Boost.filesystem provides all of the facilities we need and is compatible with C++11 (reference). We should add this library as a submodule for our test code. |
| Comments |
| Comment by Rishabh Bisht [ 18/Jan/23 ] |
|
After careful evaluation, we have decided to close this ticket. Please add a comment if the impact of this ticket increases. |