mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-23 07:00:17 +00:00
Fix: 修改测试用例执行失败
Signed-off-by: xlei1030 <xionglei6@huawei.com>
This commit is contained in:
parent
10e66fffb6
commit
1fe680aeb7
@ -395,7 +395,9 @@ bool AppSpawnServer::ServerMain(char *longProcName, int64_t longProcNameLen)
|
||||
kill(iter->first, SIGKILL);
|
||||
appMap_.erase(iter);
|
||||
}
|
||||
#ifndef TEST_EXIT
|
||||
quick_exit(0);
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ group("moduletest") {
|
||||
config("appspawn_test_config") {
|
||||
configs = []
|
||||
|
||||
defines = []
|
||||
defines = ["TEST_EXIT"]
|
||||
|
||||
include_dirs = [
|
||||
"${appspawn_path}/test/mock/include",
|
||||
|
Loading…
Reference in New Issue
Block a user