From 71561087fd6ce5434afb0f4767e8da1ef6185069 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 3 May 2014 05:17:50 +0000 Subject: [PATCH] fixes for test_utf8 and test_gzip --- test/Makefile.am | 9 +++++++-- test/test_gzip.cpp | 2 +- test/test_utf8.cpp | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 04b038072..be044f432 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -43,7 +43,9 @@ test_programs = \ test_session \ test_ssl \ test_web_seed \ - test_remap_files + test_remap_files \ + test_gzip \ + test_utf8 if ENABLE_TESTS check_PROGRAMS = $(test_programs) @@ -100,7 +102,8 @@ EXTRA_DIST = Jamfile \ mn.xml \ pb.xml \ upnp.xml \ - zeroes.gz + zeroes.gz \ + utf8_test.txt EXTRA_PROGRAMS = $(test_programs) @@ -169,6 +172,8 @@ test_session_SOURCES = test_session.cpp test_ssl_SOURCES = test_ssl.cpp test_web_seed_SOURCES = test_web_seed.cpp test_remap_files_SOURCES = test_remap_files.cpp +test_gzip_SOURCES = test_gzip.cpp +test_utf8_SOURCES = test_utf8.cpp LDADD = $(top_builddir)/src/libtorrent-rasterbar.la libtest.la diff --git a/test/test_gzip.cpp b/test/test_gzip.cpp index 857612bdc..4bebca54b 100644 --- a/test/test_gzip.cpp +++ b/test/test_gzip.cpp @@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "test.hpp" #include "libtorrent/gzip.hpp" #include "setup_transfer.hpp" // for load_file -#include "file.hpp" // for combine_path +#include "libtorrent/file.hpp" // for combine_path using namespace libtorrent; diff --git a/test/test_utf8.cpp b/test/test_utf8.cpp index f8fbad1d9..8034d1a89 100644 --- a/test/test_utf8.cpp +++ b/test/test_utf8.cpp @@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/utf8.hpp" #include "libtorrent/ConvertUTF.h" #include "setup_transfer.hpp" // for load_file -#include "file.hpp" // for combine_path +#include "libtorrent/file.hpp" // for combine_path #include