fixes for test_utf8 and test_gzip

This commit is contained in:
Arvid Norberg 2014-05-03 05:17:50 +00:00
parent a52aadc713
commit 71561087fd
3 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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;

View File

@ -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 <vector>