Makefile fix

This commit is contained in:
arvidn 2016-04-10 15:10:29 -04:00
parent 5bf8012cb4
commit 5ebb7d203b
2 changed files with 36 additions and 50 deletions

View File

@ -45,48 +45,53 @@ endif
TESTS = $(test_programs)
EXTRA_DIST = Jamfile \
test_torrents/backslash_path.torrent \
test_torrents/base.torrent \
test_torrents/parent_path.torrent \
test_torrents/creation_date.torrent \
test_torrents/duplicate_files.torrent \
test_torrents/duplicate_web_seeds.torrent \
test_torrents/empty_httpseed.torrent \
test_torrents/empty_path.torrent \
test_torrents/empty_path_multi.torrent \
test_torrents/hidden_parent_path.torrent \
test_torrents/httpseed.torrent \
test_torrents/invalid_file_size.torrent \
test_torrents/invalid_info.torrent \
test_torrents/invalid_name.torrent \
test_torrents/invalid_name2.torrent \
test_torrents/invalid_name3.torrent \
test_torrents/invalid_path_list.torrent \
test_torrents/invalid_piece_len.torrent \
test_torrents/invalid_pieces.torrent \
test_torrents/invalid_root_hash.torrent \
test_torrents/invalid_root_hash2.torrent \
test_torrents/long_name.torrent \
test_torrents/missing_path_list.torrent \
test_torrents/missing_piece_len.torrent \
test_torrents/negative_file_size.torrent \
test_torrents/negative_piece_len.torrent \
test_torrents/negative_size.torrent \
test_torrents/no_creation_date.torrent \
test_torrents/no_name.torrent \
test_torrents/pad_file.torrent \
test_torrents/parent_path.torrent \
test_torrents/root_hash.torrent \
test_torrents/sample.torrent \
test_torrents/single_multi_file.torrent \
test_torrents/slash_path.torrent \
test_torrents/backslash_path.torrent \
test_torrents/slash_path2.torrent \
test_torrents/slash_path3.torrent \
test_torrents/string.torrent \
test_torrents/symlink1.torrent \
test_torrents/unaligned_pieces.torrent \
test_torrents/url_list.torrent \
test_torrents/url_list2.torrent \
test_torrents/url_list3.torrent \
test_torrents/httpseed.torrent \
test_torrents/empty_httpseed.torrent \
test_torrents/long_name.torrent \
test_torrents/whitespace_url.torrent \
test_torrents/duplicate_files.torrent \
test_torrents/invalid_piece_len.torrent \
test_torrents/missing_piece_len.torrent \
test_torrents/negative_piece_len.torrent \
test_torrents/no_name.torrent \
test_torrents/invalid_name.torrent \
test_torrents/invalid_name2.torrent \
test_torrents/invalid_info.torrent \
test_torrents/string.torrent \
test_torrents/negative_size.torrent \
test_torrents/negative_file_size.torrent \
test_torrents/pad_file.torrent \
test_torrents/invalid_path_list.torrent \
test_torrents/missing_path_list.torrent \
test_torrents/invalid_pieces.torrent \
test_torrents/unaligned_pieces.torrent \
test_torrents/creation_date.torrent \
test_torrents/no_creation_date.torrent \
test_torrents/url_seed.torrent \
test_torrents/url_seed_multi.torrent \
test_torrents/url_seed_multi_space.torrent \
test_torrents/url_seed_multi_space_nolist.torrent \
test_torrents/invalid_root_hash.torrent \
test_torrents/invalid_root_hash2.torrent \
test_torrents/root_hash.torrent \
test_torrents/invalid_file_size.torrent \
test_torrents/empty_path_multi.torrent \
test_torrents/duplicate_web_seeds.torrent \
test_torrents/sample.torrent \
test_torrents/whitespace_url.torrent \
mutable_test_torrents/test1.torrent \
mutable_test_torrents/test1_pad_files.torrent \
mutable_test_torrents/test1_single.torrent\

View File

@ -1,19 +0,0 @@
REM this is just to get libtorrent built
bjam -j8 msvc-12.0 invariant-checks=off asserts=off link=shared boost-link=shared test_primitives linkflags=/profile deprecated-functions=off
Vsinstr -coverage ..\bin\msvc-12.0\debug\asserts-off\boost-link-shared\boost-source\debug-iterators-on\deprecated-functions-off\export-extra-on\invariant-checks-off\threading-multi\torrent.dll @vsinstr_excludes.rsp
REM prepare for running all the tests again
del /s /q bin
del /q test.coverage
REM add vsperfmon to the path
set path=%path%;c:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Performance Tools
Start vsperfmon -coverage -output:test.coverage
REM Now we run all the unit tests to record test coverage
bjam -j8 msvc-12.0 invariant-checks=off asserts=off link=shared boost-link=shared linkflags=/profile deprecated-functions=off
vsperfcmd -shutdown