mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
ci: faster unit_tests (#33953)
* effect * test * no * yes * try some caching * try * 1 * try more 1 * just for fun * 50 maybe???? * all for nothing * fix * add back * back * timeout * clean * try * no * less
This commit is contained in:
@@ -136,7 +136,7 @@ std::string download_demo_route() {
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("Local route") {
|
||||
TEST_CASE("Getting route") {
|
||||
std::string data_dir = download_demo_route();
|
||||
|
||||
auto flags = GENERATE(0, REPLAY_FLAG_QCAMERA);
|
||||
@@ -148,16 +148,6 @@ TEST_CASE("Local route") {
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("Remote route") {
|
||||
auto flags = GENERATE(0, REPLAY_FLAG_QCAMERA);
|
||||
Route route(DEMO_ROUTE);
|
||||
REQUIRE(route.load());
|
||||
REQUIRE(route.segments().size() == 13);
|
||||
for (int i = 0; i < TEST_REPLAY_SEGMENTS; ++i) {
|
||||
read_segment(i, route.at(i), flags);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("seek_to") {
|
||||
QEventLoop loop;
|
||||
int seek_to = util::random_int(0, 2 * 59);
|
||||
|
||||
Reference in New Issue
Block a user