Add CMake and tests

- Port tests to GitLab
- Add GitLab CI test matrix
- Remove gtest submodule
This commit is contained in:
Jonah Beckford 2023-08-07 19:39:57 -07:00
parent 7056638935
commit f07596dbb5
19 changed files with 1760 additions and 28 deletions

View file

@ -85,7 +85,7 @@ TEST(Examples, RoundTripPerson) {
{
// Write serialized object to file system.
FILE *f = fopen("tests/example-test.cpp.Person.out", "wb");
FILE *f = fopen("example-test.cpp.Person.out", "wb");
ASSERT_NE(f, (void*)0);
fwrite(buf, 1 /* size */, sz /* count */, f);
int close_ret = fclose(f);