From 8cf9357aa8eca2ed74c65b23346c6d2ff441c8ba Mon Sep 17 00:00:00 2001 From: arvidn Date: Sat, 20 Jun 2015 11:08:26 -0400 Subject: [PATCH] move test main into test library to avoid redundant recompiling and hopefully speed up the testing a bit --- .travis.yml | 5 +++-- test/Jamfile | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf7b1eff6..5c119c6a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,9 @@ install: - echo -n ":" >>~/user-config.jam - echo " 2.7 ;" >>~/user-config.jam - ccache --show-stats - - which $CC - - ls -la `which $CC` + - ccache -V + - which $CXX + - ls -la `which $CXX` cache: directories: diff --git a/test/Jamfile b/test/Jamfile index 90784ffb6..c549a3550 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -50,6 +50,7 @@ rule link_libtorrent ( properties * ) lib libtorrent_test : # sources + main.cpp test.cpp setup_transfer.cpp dht_server.cpp @@ -83,7 +84,6 @@ lib advapi32 : : Advapi32 ; project : requirements - main.cpp @link_test @link_libtorrent : default-build