From 8d9b02ae53d35a3fc13c2ae77edeace78de59da0 Mon Sep 17 00:00:00 2001 From: chuxuezhe11 Date: Wed, 8 Sep 2021 03:44:11 +0000 Subject: [PATCH] change the bytrace test level Signed-off-by: NEEN --- .../moduletest/common/native/bytrace_ndk_test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/test/moduletest/common/native/bytrace_ndk_test.cpp b/bin/test/moduletest/common/native/bytrace_ndk_test.cpp index 7d6bb1d..38470f7 100755 --- a/bin/test/moduletest/common/native/bytrace_ndk_test.cpp +++ b/bin/test/moduletest/common/native/bytrace_ndk_test.cpp @@ -400,7 +400,7 @@ vector ReadTrace() * @tc.desc: tracing_mark_write file node normal output start tracing and end tracing. * @tc.type: FUNC */ -HWTEST_F(BytraceNDKTest, StartTrace_001, TestSize.Level1) +HWTEST_F(BytraceNDKTest, StartTrace_001, TestSize.Level0) { ASSERT_TRUE(CleanTrace()); ASSERT_TRUE(SetFtrace(TRACING_ON, true)) << "Setting tracing_on failed."; @@ -419,7 +419,7 @@ HWTEST_F(BytraceNDKTest, StartTrace_001, TestSize.Level1) * @tc.desc: tracing_mark_write file node has no output. * @tc.type: FUNC */ -HWTEST_F(BytraceNDKTest, StartTrace_002, TestSize.Level1) +HWTEST_F(BytraceNDKTest, StartTrace_002, TestSize.Level0) { ASSERT_TRUE(CleanTrace()); ASSERT_TRUE(SetFtrace(TRACING_ON, true)) << "Setting tracing_on failed."; @@ -438,7 +438,7 @@ HWTEST_F(BytraceNDKTest, StartTrace_002, TestSize.Level1) * @tc.desc: tracing_mark_write file node normal output start trace and end trace. * @tc.type: FUNC */ -HWTEST_F(BytraceNDKTest, StartTrace_003, TestSize.Level1) +HWTEST_F(BytraceNDKTest, StartTrace_003, TestSize.Level0) { ASSERT_TRUE(CleanTrace()); ASSERT_TRUE(SetFtrace(TRACING_ON, true)) << "Setting tracing_on failed."; @@ -465,7 +465,7 @@ HWTEST_F(BytraceNDKTest, StartTrace_003, TestSize.Level1) * @tc.desc: test Input and output interval 1ms execution, time fluctuation 1ms * @tc.type: FUNC */ -HWTEST_F(BytraceNDKTest, StartTrace_004, TestSize.Level1) +HWTEST_F(BytraceNDKTest, StartTrace_004, TestSize.Level0) { ASSERT_TRUE(CleanTrace()); ASSERT_TRUE(SetFtrace(TRACING_ON, true)) << "Setting tracing_on failed."; @@ -485,7 +485,7 @@ HWTEST_F(BytraceNDKTest, StartTrace_004, TestSize.Level1) * @tc.desc: tracing_mark_write file node normal output start trace and end trace * @tc.type: FUNC */ -HWTEST_F(BytraceNDKTest, StartTrace_005, TestSize.Level1) +HWTEST_F(BytraceNDKTest, StartTrace_005, TestSize.Level0) { ASSERT_TRUE(CleanTrace()); ASSERT_TRUE(SetFtrace(TRACING_ON, true)) << "Setting tracing_on failed."; @@ -505,7 +505,7 @@ HWTEST_F(BytraceNDKTest, StartTrace_005, TestSize.Level1) * @tc.desc: tracing_mark_write file node normal output start trace and end trace * @tc.type: FUNC */ -HWTEST_F(BytraceNDKTest, StartTrace_006, TestSize.Level1) +HWTEST_F(BytraceNDKTest, StartTrace_006, TestSize.Level0) { ASSERT_TRUE(CleanTrace()); ASSERT_TRUE(SetFtrace(TRACING_ON, true)) << "Setting tracing_on failed.";