Only run eventfd tests on Linux.
authorPeter Griess <pgriess@fb.com>
Thu, 26 Sep 2013 14:20:24 +0000 (09:20 -0500)
committerPeter Griess <pgriess@fb.com>
Tue, 15 Oct 2013 01:46:15 +0000 (18:46 -0700)
commit8ae12a8ec24f2e6029702b2f107f9f0433c1d82c
tree4d9b9a27b971a366c5e257982ba4198bc9b7de82
parentc6e51ca2fdc103df2fbc630e2c994df776066807
Only run eventfd tests on Linux.

Summary:
- Detect Linux and define the HAVE_LINUX autoconf macro. Use this to
elide eventfd tests in tests/Makefile.am.

Test Plan:
- fbconfig -r folly && fbmake runtests
- ./configure && make check on Ubuntu/FC/Mac

Reviewed By: delong.j@fb.com

FB internal diff: D998507
folly/configure.ac
folly/test/Makefile.am