6e2ccc8b15
version: sunnypilot v2026.002.000 (staging) date: 2026-05-27T04:05:25 master commit: dfc3c98b226da57a653daf57131a8a3d66166fcb
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);
|
|
}
|