Add expression test runner to Bazel (#1464)

This commit is contained in:
Bart Louwers
2023-08-05 09:48:15 +02:00
committed by GitHub
parent 3c57d37ef2
commit 15bf44da97
12 changed files with 68 additions and 43 deletions

View File

@@ -2,13 +2,18 @@
#include "expression_test_runner.hpp"
#include "expression_test_logger.hpp"
#include <mbgl/util/logging.hpp>
#include <random>
#include <iostream>
#include <filesystem>
int main(int argc, char** argv) try {
Log::useLogThread(false);
// Parse args
std::vector<mbgl::filesystem::path> testPaths;
mbgl::filesystem::path rootPath;
std::vector<std::filesystem::path> testPaths;
std::filesystem::path rootPath;
bool shuffle;
uint32_t seed;
std::tie(rootPath, testPaths, shuffle, seed) = parseArguments(argc, argv);