Commit 44fd32d7 authored by László Várady's avatar László Várady Committed by Facebook Github Bot

Fix building async_io_test (#1313)

Summary:
Since 60da8ef5, typed tests have been moved to a separate unit (`AsyncBaseTestLib`), which is not the part of `folly` or `folly_test_support`.

This commit adds `AsyncBaseTestLib` to `async_io_test`'s sources.

Alternatively, the test lib could be added to `folly_test_support` with an additional check on `LIBAIO_FOUND`, but `AsyncBaseTestLib` has a specific `TemporaryFile` implementation that conflicts with the one in `experimental/TestUtil.h`.
Pull Request resolved: https://github.com/facebook/folly/pull/1313

Reviewed By: simpkins

Differential Revision: D19648091

Pulled By: yfeldblum

fbshipit-source-id: 27881b464dc3c84aa20ffee1ffd3320e0a67eb27
parent 7a83deaa
...@@ -915,7 +915,7 @@ if (BUILD_TESTS) ...@@ -915,7 +915,7 @@ if (BUILD_TESTS)
if (${LIBAIO_FOUND}) if (${LIBAIO_FOUND})
folly_define_tests( folly_define_tests(
DIRECTORY experimental/io/test/ DIRECTORY experimental/io/test/
TEST async_io_test SOURCES AsyncIOTest.cpp TEST async_io_test SOURCES AsyncIOTest.cpp AsyncBaseTestLib.cpp
) )
endif() endif()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment