aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2017-09-26 11:57:19 -0700
committerMarat Dukhan <marat@fb.com>2017-09-26 11:57:19 -0700
commit99b7751f71f47a55913e86d46e87c30f6c883f14 (patch)
tree80be842c04d1a3e63be2553e164f62904bacfdb8 /test
parent6022f800fd3b1d00735e30ddbcb558d99b8226a3 (diff)
downloadcpuinfo-99b7751f71f47a55913e86d46e87c30f6c883f14.tar.gz
Minor fix in Zenfone 2 and Memo Pad 7 mock tests
Diffstat (limited to 'test')
-rw-r--r--test/memo-pad-7.cc2
-rw-r--r--test/zenfone-2.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/memo-pad-7.cc b/test/memo-pad-7.cc
index 0d05c37..c5ac4a9 100644
--- a/test/memo-pad-7.cc
+++ b/test/memo-pad-7.cc
@@ -365,7 +365,7 @@ TEST(ISA, movbe) {
}
TEST(ISA, lahf_salf) {
- ASSERT_FALSE(cpuinfo_has_x86_lahf_salf());
+ ASSERT_TRUE(cpuinfo_has_x86_lahf_salf());
}
TEST(ISA, lzcnt) {
diff --git a/test/zenfone-2.cc b/test/zenfone-2.cc
index 0e90d55..7ef23aa 100644
--- a/test/zenfone-2.cc
+++ b/test/zenfone-2.cc
@@ -365,7 +365,7 @@ TEST(ISA, movbe) {
}
TEST(ISA, lahf_salf) {
- ASSERT_FALSE(cpuinfo_has_x86_lahf_salf());
+ ASSERT_TRUE(cpuinfo_has_x86_lahf_salf());
}
TEST(ISA, lzcnt) {