#include "hardwaretests.h" #include #include #include #include #include #include std::shared_ptr gLog; static int runResult; int main(int argc, char *argv[]) { gLog = std::make_shared("logger", std::make_shared()); gLog->set_level(spdlog::level::debug); cpu::config::jit::enabled = true; cpu::initialise(); // We need to run the tests on a core. cpu::setCoreEntrypointHandler( []() { if (cpu::this_core::id() == 1) { // Run the tests on only a single core. runResult = hwtest::runTests("data/wiiu"); } }); cpu::start(); cpu::join(); return runResult; }