mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 14:45:42 +08:00
Test executables should return instead of entering the event loop. The
test cases itself will run their own event loop anyway.
This commit is contained in:
@@ -17,5 +17,5 @@ int main(int argc, char *argv[])
|
|||||||
CBlackCoreTestMain::unitMain(argc, argv);
|
CBlackCoreTestMain::unitMain(argc, argv);
|
||||||
|
|
||||||
// bye
|
// bye
|
||||||
return a.exec();
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,5 +17,5 @@ int main(int argc, char *argv[])
|
|||||||
CBlackMiscTestMain::unitMain(argc, argv);
|
CBlackMiscTestMain::unitMain(argc, argv);
|
||||||
|
|
||||||
// bye
|
// bye
|
||||||
return a.exec();
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user