mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2025-02-11 05:17:20 +00:00
hidebug测试用例修复
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
This commit is contained in:
parent
42657b26f5
commit
e4f785f326
@ -19,7 +19,9 @@ module_output_path = "hiprofiler/hidebug/test/"
|
||||
ohos_unittest("hidebug_test") {
|
||||
module_out_path = module_output_path
|
||||
sources = [ "./hidebug_test.cpp" ]
|
||||
|
||||
if (build_variant == "root") {
|
||||
defines = [ "HIDEBUG_BUILD_VARIANT_ROOT" ]
|
||||
}
|
||||
deps = [
|
||||
"$hidebug_path/frameworks/hidebug_ndk:ohhidebug",
|
||||
"$hidebug_path/interfaces/native/innerkits:libhidebug",
|
||||
|
@ -36,6 +36,7 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef HIDEBUG_BUILD_VARIANT_ROOT
|
||||
/**
|
||||
* @tc.name: InitEnvironmentParam
|
||||
* @tc.desc: test InitEnvironmentParam
|
||||
@ -148,6 +149,7 @@ HWTEST_F(HidebugTest, InitEnvironmentParam9, TestSize.Level1)
|
||||
const char* inputName = "hidebug";
|
||||
EXPECT_FALSE(InitEnvironmentParam(inputName));
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @tc.name: OH_HiDebug_GetAppCpuUsage1
|
||||
|
Loading…
x
Reference in New Issue
Block a user