[test] Run unit tests as NativeActivity application on Android

This commit is contained in:
Juha Alanen
2019-12-19 15:55:39 +02:00
parent f24e4ca068
commit 0b3942572e
23 changed files with 528 additions and 29 deletions

View File

@@ -1,12 +1,9 @@
#include <mbgl/actor/scheduler.hpp>
#include <mbgl/gfx/backend.hpp>
#include <mbgl/test.hpp>
#include <mbgl/test/util.hpp>
#include <gtest/gtest.h>
#include <args.hxx>
namespace mbgl {
int runTests(int argc, char *argv[]) {
@@ -16,11 +13,6 @@ int runTests(int argc, char *argv[]) {
testing::InitGoogleTest(&argc, argv);
args::ArgumentParser argumentParser("Unit tests");
args::ValueFlag<std::string> backendValue(argumentParser, "Backend", "Rendering backend", {"backend"});
argumentParser.ParseCLI(argc, argv);
return RUN_ALL_TESTS();
}