Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit e8a8de5

Browse files
committed
chore: move FileManagerConfigTest test to the end
1 parent 4886edb commit e8a8de5

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

engine/test/components/main.cc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
#include "gtest/gtest.h"
21
#include <drogon/HttpAppFramework.h>
32
#include <drogon/drogon.h>
3+
#include "gtest/gtest.h"
44

5-
int main(int argc, char **argv) {
6-
::testing::InitGoogleTest(&argc, argv);
7-
int ret = RUN_ALL_TESTS();
5+
int main(int argc, char** argv) {
6+
::testing::InitGoogleTest(&argc, argv);
7+
::testing::GTEST_FLAG(filter) = "-FileManagerConfigTest.*";
8+
int ret = RUN_ALL_TESTS();
9+
if (ret != 0)
810
return ret;
11+
::testing::GTEST_FLAG(filter) = "FileManagerConfigTest.*";
12+
ret = RUN_ALL_TESTS();
13+
return ret;
914
}

0 commit comments

Comments
 (0)