Files
onepilot/tools/cabana/tests/test_runner.cc
Adeeb Shihadeh ba7f7fd7a6 0.9.8 hotfixes
2025-04-07 12:42:46 -07:00

11 lines
268 B
C++

#define CATCH_CONFIG_RUNNER
#include "catch2/catch.hpp"
#include <QCoreApplication>
int main(int argc, char **argv) {
// unit tests for Qt
QCoreApplication app(argc, argv);
const int res = Catch::Session().run(argc, argv);
return (res < 0xff ? res : 0xff);
}