mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-21 00:25:21 -04:00
Fix tests.
As we use the main library of gtest (if already installed) we don't need to (and must not) define a main function for the tests. Does the same (use main library) if we use the subproject.
This commit is contained in:
1 parent
0f99c1ad20
commit
4fe31a20e3
8 files changed
+1
-40
No files matched your search
@@ -54,8 +54,3 @@ TEST(stringTools, split)
|
||||
}
|
||||
|
||||
};
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
Reference in new issue
Block a user