diff options
author | Marat Dukhan <marat@fb.com> | 2017-11-28 18:18:08 -0800 |
---|---|---|
committer | Marat Dukhan <marat@fb.com> | 2017-11-28 18:18:08 -0800 |
commit | 3708e8f43ef7020168c52bea80213d206d6a562f (patch) | |
tree | 92fa8df5e46d95c89e79744a8f1409f9f1da7b08 | |
parent | 02b0437987c8afd2e2e502ffb76e0a46d6112513 (diff) | |
download | cpuinfo-3708e8f43ef7020168c52bea80213d206d6a562f.tar.gz |
Enable test cases which rely on MIDR recovery in ATM7029 mock test
-rw-r--r-- | test/mock/atm7029b-tablet.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/mock/atm7029b-tablet.cc b/test/mock/atm7029b-tablet.cc index 4729e89..480aded 100644 --- a/test/mock/atm7029b-tablet.cc +++ b/test/mock/atm7029b-tablet.cc @@ -104,15 +104,15 @@ TEST(CORES, vendor) { } } -TEST(CORES, DISABLED_uarch) { +TEST(CORES, uarch) { for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { ASSERT_EQ(cpuinfo_uarch_cortex_a5, cpuinfo_get_core(i)->uarch); } } -TEST(CORES, DISABLED_midr) { +TEST(CORES, midr) { for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { - ASSERT_EQ(UINT32_C(0x410FC075), cpuinfo_get_core(i)->midr); + ASSERT_EQ(UINT32_C(0x410FC051), cpuinfo_get_core(i)->midr); } } @@ -280,13 +280,13 @@ TEST(L1I, non_null) { ASSERT_TRUE(cpuinfo_get_l1i_caches()); } -TEST(L1I, DISABLED_size) { +TEST(L1I, size) { for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { ASSERT_EQ(32 * 1024, cpuinfo_get_l1i_cache(i)->size); } } -TEST(L1I, DISABLED_associativity) { +TEST(L1I, associativity) { for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); } @@ -332,7 +332,7 @@ TEST(L1D, non_null) { ASSERT_TRUE(cpuinfo_get_l1d_caches()); } -TEST(L1D, DISABLED_size) { +TEST(L1D, size) { for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { ASSERT_EQ(32 * 1024, cpuinfo_get_l1d_cache(i)->size); } @@ -384,7 +384,7 @@ TEST(L2, non_null) { ASSERT_TRUE(cpuinfo_get_l2_caches()); } -TEST(L2, DISABLED_size) { +TEST(L2, size) { for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { ASSERT_EQ(256 * 1024, cpuinfo_get_l2_cache(i)->size); } |