summaryrefslogtreecommitdiff
path: root/simpleperf/cmd_stat_test.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2016-08-05 21:38:26 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-05 21:38:26 +0000
commit768751400df18821f6c5da9403b72d979ac79e48 (patch)
treecabc3de8d7183a2e00ecdfbb7889987169f5d894 /simpleperf/cmd_stat_test.cpp
parent0c70b9c4049ea7c87670eb6f9ca72d79a978e618 (diff)
parent9ec492a979bf53295e5d615cc00a76e074c51bd7 (diff)
downloadextras-768751400df18821f6c5da9403b72d979ac79e48.tar.gz
Merge "simpleperf: remove cpu option tests."
am: 9ec492a979 Change-Id: I9ed4fc32a7ba7030c48d4d5b7d7a905caed01e6d
Diffstat (limited to 'simpleperf/cmd_stat_test.cpp')
-rw-r--r--simpleperf/cmd_stat_test.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/simpleperf/cmd_stat_test.cpp b/simpleperf/cmd_stat_test.cpp
index c8fe5985..a66978c0 100644
--- a/simpleperf/cmd_stat_test.cpp
+++ b/simpleperf/cmd_stat_test.cpp
@@ -83,11 +83,6 @@ TEST(stat_cmd, existing_threads) {
TEST(stat_cmd, no_monitored_threads) { ASSERT_FALSE(StatCmd()->Run({""})); }
-TEST(stat_cmd, cpu_option) {
- ASSERT_TRUE(StatCmd()->Run({"--cpu", "0", "sleep", "1"}));
- TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"--cpu", "0", "-a", "sleep", "1"})));
-}
-
TEST(stat_cmd, group_option) {
ASSERT_TRUE(
StatCmd()->Run({"--group", "cpu-cycles,cpu-clock", "sleep", "1"}));