Futex::futexWait returns FutexResult
[folly.git] / folly / test / CpuIdTest.cpp
index ed6bcd1eb03cf52cb60da4d711513c60b6584430..dbab554c9e2863b718ff90ca40fd0711b02a6312 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 #include <folly/CpuId.h>
 
-#include <glog/logging.h>
-#include <gtest/gtest.h>
+#include <folly/portability/GTest.h>
 
 using namespace folly;
 
 TEST(CpuId, Simple) {
-  // All CPUs should support MMX
   CpuId id;
-  EXPECT_TRUE(id.mmx());
+  // All x64 CPUs should support MMX
+  EXPECT_EQ(kIsArchAmd64, id.mmx());
 }
-