diff options
Diffstat (limited to 'simpleperf/cmd_record_test.cpp')
-rw-r--r-- | simpleperf/cmd_record_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp index f51393f2..ef2c1b68 100644 --- a/simpleperf/cmd_record_test.cpp +++ b/simpleperf/cmd_record_test.cpp @@ -917,7 +917,7 @@ TEST(record_cmd, no_cut_samples_option) { } TEST(record_cmd, cs_etm_event) { - if (!ETMRecorder::GetInstance().CheckEtmSupport()) { + if (!ETMRecorder::GetInstance().CheckEtmSupport().ok()) { GTEST_LOG_(INFO) << "Omit this test since etm isn't supported on this device"; return; } @@ -952,7 +952,7 @@ TEST(record_cmd, cs_etm_event) { TEST(record_cmd, cs_etm_system_wide) { TEST_REQUIRE_ROOT(); - if (!ETMRecorder::GetInstance().CheckEtmSupport()) { + if (!ETMRecorder::GetInstance().CheckEtmSupport().ok()) { GTEST_LOG_(INFO) << "Omit this test since etm isn't supported on this device"; return; } @@ -960,7 +960,7 @@ TEST(record_cmd, cs_etm_system_wide) { } TEST(record_cmd, aux_buffer_size_option) { - if (!ETMRecorder::GetInstance().CheckEtmSupport()) { + if (!ETMRecorder::GetInstance().CheckEtmSupport().ok()) { GTEST_LOG_(INFO) << "Omit this test since etm isn't supported on this device"; return; } @@ -973,7 +973,7 @@ TEST(record_cmd, aux_buffer_size_option) { TEST(record_cmd, addr_filter_option) { TEST_REQUIRE_HW_COUNTER(); - if (!ETMRecorder::GetInstance().CheckEtmSupport()) { + if (!ETMRecorder::GetInstance().CheckEtmSupport().ok()) { GTEST_LOG_(INFO) << "Omit this test since etm isn't supported on this device"; return; } |