Disable location-indicator query-test on iOS (#1406)

This commit is contained in:
Bart Louwers
2023-07-24 13:08:56 +02:00
committed by GitHub
parent 1c143cac57
commit 2ebca20d21
3 changed files with 19 additions and 6 deletions

View File

@@ -14,6 +14,7 @@
#include "parser.hpp"
#include "runner.hpp"
#ifdef SHOW_ANSI_COLORS
#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_GREEN "\x1b[32m"
#define ANSI_COLOR_YELLOW "\x1b[33m"
@@ -23,6 +24,17 @@
#define ANSI_COLOR_GRAY "\x1b[37m"
#define ANSI_COLOR_LIGHT_GRAY "\x1b[90m"
#define ANSI_COLOR_RESET "\x1b[0m"
#else
#define ANSI_COLOR_RED ""
#define ANSI_COLOR_GREEN ""
#define ANSI_COLOR_YELLOW ""
#define ANSI_COLOR_BLUE ""
#define ANSI_COLOR_MAGENTA ""
#define ANSI_COLOR_CYAN ""
#define ANSI_COLOR_GRAY ""
#define ANSI_COLOR_LIGHT_GRAY ""
#define ANSI_COLOR_RESET ""
#endif
#if !defined(SANITIZE)
void* operator new(std::size_t sz) {
@@ -51,7 +63,7 @@ ArgumentsTuple parseArguments(int argc, char** argv) {
{"metrics", TestRunner::UpdateResults::METRICS},
{"rebaseline", TestRunner::UpdateResults::REBASELINE}};
args::ArgumentParser argumentParser("Mapbox GL Test Runner");
args::ArgumentParser argumentParser("MapLibre Native Test Runner");
args::HelpFlag helpFlag(argumentParser, "help", "Display this help menu", {'h', "help"});