mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-20 12:33:57 +08:00
* skip invalid segment * test seek * fix wrong cur_mono_time when route_start_ts is 0 * don't notify stream thread if current segment not merged * continue merge next segment if current is invalid * cleanup seekTo * continue * fix seek cross-boundary * new demo route has 11 segments * continue * fix cross-boundary * cleanup & better test cases cleanup remoe & typo update comment * update test * reserve space for new_events * parallel sorting * usleep(0) * Revert "parallel sorting" This reverts commit d7d1b42f49944aef0b6ca2962e45a7f5318a1152.
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);
|
|
}
|