forked from facebook/folly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Looks like some tests for the `io` directory were left behind when they were moved out of experimental. Re-enabled them in the new location, except for the compression test because it takes a lot longer. It's still built and can be executed manually. Also added some preprocessor guards around compression codecs that might not be compiled in (and therefore fail during test SetUp). Depends on facebook#547 because the path to gtest appears in the new Makefile.am's `CPPFLAGS`. Closes facebook#550 Reviewed By: yfeldblum Differential Revision: D4631244 Pulled By: Orvid fbshipit-source-id: 496b2c272e4f7293822f159776a02f7dd0c9e04d
- Loading branch information
1 parent
d70b739
commit d91466d
Showing
8 changed files
with
108 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
ACLOCAL_AMFLAGS = -I m4 | ||
|
||
TESTS = iobuf_test \ | ||
iobuf_cursor_test | ||
CPPFLAGS = -I$(top_srcdir)/test/gtest/googletest/include | ||
ldadd = $(top_builddir)/test/libfollytestmain.la | ||
|
||
check_PROGRAMS = $(TESTS) | ||
check_PROGRAMS = \ | ||
fs_util_test | ||
|
||
iobuf_test_SOURCES = IOBufTest.cpp | ||
iobuf_test_LDADD = $(top_builddir)/libfollyio.la | ||
TESTS = $(check_PROGRAMS) | ||
|
||
iobuf_cursor_test_SOURCES = IOBufCursorTest.cpp | ||
iobuf_cursor_test_LDADD = $(top_builddir)/libfollyio.la $(top_builddir)/libfollybenchmark.la | ||
fs_util_test_SOURCES = FsUtilTest.cpp | ||
fs_util_test_LDADD = $(ldadd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ACLOCAL_AMFLAGS = -I m4 | ||
|
||
CPPFLAGS = -I$(top_srcdir)/test/gtest/googletest/include | ||
ldadd = $(top_builddir)/test/libfollytestmain.la | ||
|
||
# compression_test takes several minutes, so it's not run automatically. | ||
TESTS = \ | ||
iobuf_test \ | ||
iobuf_cursor_test \ | ||
iobuf_queue_test \ | ||
record_io_test \ | ||
shutdown_socket_set_test | ||
|
||
check_PROGRAMS = $(TESTS) \ | ||
compression_test | ||
|
||
iobuf_test_SOURCES = IOBufTest.cpp | ||
iobuf_test_LDADD = $(ldadd) | ||
|
||
iobuf_cursor_test_SOURCES = IOBufCursorTest.cpp | ||
iobuf_cursor_test_LDADD = $(ldadd) | ||
|
||
compression_test_SOURCES = CompressionTest.cpp | ||
compression_test_LDADD = $(top_builddir)/libfolly.la \ | ||
$(top_builddir)/test/libgtest.la \ | ||
$(top_builddir)/libfollybenchmark.la | ||
|
||
iobuf_queue_test_SOURCES = IOBufQueueTest.cpp | ||
iobuf_queue_test_LDADD = $(ldadd) | ||
|
||
record_io_test_SOURCES = RecordIOTest.cpp | ||
record_io_test_LDADD = $(ldadd) | ||
|
||
shutdown_socket_set_test_SOURCES = ShutdownSocketSetTest.cpp | ||
shutdown_socket_set_test_LDADD = $(ldadd) |
This file was deleted.
Oops, something went wrong.