projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Compile out GroupVarint on non-Intel
[folly.git]
/
folly
/
test
/
GroupVarintTest.cpp
diff --git
a/folly/test/GroupVarintTest.cpp
b/folly/test/GroupVarintTest.cpp
index 1e59016dd3d735c5096e6d0c2924a3b34682349e..32b4ae8f3502b73f07354f7280be20f6e967693d 100644
(file)
--- a/
folly/test/GroupVarintTest.cpp
+++ b/
folly/test/GroupVarintTest.cpp
@@
-17,6
+17,9
@@
#include <stdarg.h>
#include "folly/GroupVarint.h"
+// On platforms where it's not supported, GroupVarint will be compiled out.
+#if HAVE_GROUP_VARINT
+
#include <gtest/gtest.h>
using namespace folly;
@@
-259,3
+262,4
@@
TEST(GroupVarint, GroupVarintDecoder) {
}
}
+#endif