version: sunnypilot v2025.003.000 (dev) date: 2026-02-09T02:04:38 master commit: 254f55ac15a40343d7255f2f098de3442e0c4a6f
11 lines
268 B
C++
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);
|
|
}
|