[C/C++] Unittests with googletest
This MR adds C unit tests using googletest.
Merge request reports
Activity
mentioned in merge request !5 (closed)
@b382190 Could you make this set of tests more complete once you are back from holiday?
just my 2cts: IMO the C-part of
libfortran-support
is minimal compared to the rest. using googletest for that part is reasonable, but for the fortran code it seems like an overkill.This approach is more like a feasibility study, but I would be regard it for a production solution.
Isn't there a simpler pure-fortran solution for this?
For a more complete set of Fortran unittest please have a look at !13 (merged) .
The idea is that C/C++ test are in googletest. Also we might want to test some of the fortran-wrappers of C-function and compare directly to results from the C-function -> there we need googletest.
The test present in this MR were part of our investigation about unittest possibilities. It needs a consolidation and cleanup, but also more tests for the C/C++ parts.
This should be done by @b382190 once he is back from holiday.
- Resolved by Terry Cojean
- Resolved by Terry Cojean
- Resolved by Yen-Chen Chen
- Resolved by Yen-Chen Chen
added 5 commits
-
61a25711...8993d623 - 4 commits from branch
master
- 23b39eeb - Merge branch 'master' into c_c++_tests
-
61a25711...8993d623 - 4 commits from branch