attempt to make appveyor happy

This commit is contained in:
arvidn 2015-08-09 17:54:10 -04:00
parent 4fa0aa62da
commit d977f2e68f
4 changed files with 44 additions and 8 deletions

View File

@ -15,9 +15,14 @@ environment:
- variant: test_release
compiler: msvc
linkflags: '"/LIBPATH:C:\\OpenSSL-Win32\\lib"'
- variant: test_debug
compiler: gcc
linkflags: '"-LC:\\OpenSSL-Win32\\lib"'
# mingw and boost.random don't like each other. Comment this back in once there
# is support
# - variant: test_debug
# compiler: gcc
# linkflags: '"-LC:\\OpenSSL-Win32\\lib"'
install:
- set ROOT_DIRECTORY=%CD%
- cd %ROOT_DIRECTORY%
@ -42,4 +47,5 @@ cache:
- C:\OpenSSL-Win32
build_script:
- cd %ROOT_DIRECTORY%\test
- b2.exe -j2 %compiler% variant=%variant% link=shared linkflags=%linkflags% include="C:\\OpenSSL-Win32\\include" warnings=off --abbreviate-paths
- b2.exe -j2 win-tests %compiler% variant=%variant% link=shared linkflags=%linkflags% include="C:\\OpenSSL-Win32\\include" warnings=off --abbreviate-paths

View File

@ -393,7 +393,7 @@ namespace libtorrent
num_fenced_flush_hashed,
num_fenced_flush_storage,
num_fenced_trim_cache,
num_fenced_file_priority,
num_fenced_file_priority,
num_fenced_load_torrent,
num_fenced_clear_piece,
num_fenced_tick_storage,

View File

@ -21,7 +21,7 @@ project
<picker-debugging>on
;
test-suite libtorrent-sims :
alias libtorrent-sims :
[ run test_swarm.cpp ]
[ run test_utp.cpp ]
[ run test_dht.cpp ]

View File

@ -144,6 +144,7 @@ test-suite libtorrent :
test_settings_pack.cpp
test_fence.cpp
test_dos_blocker.cpp
test_stat_cache.cpp
test_file_progress.cpp ]
[ run test_storage.cpp ]
@ -151,7 +152,6 @@ test-suite libtorrent :
[ run test_read_piece.cpp ]
[ run test_file.cpp ]
[ run test_stat_cache.cpp ]
[ run test_fast_extension.cpp ]
[ run test_privacy.cpp ]
[ run test_recheck.cpp ]
@ -185,8 +185,38 @@ test-suite libtorrent :
[ run test_swarm.cpp ]
[ run test_super_seeding.cpp ]
# make these test more reliable
# turn these tests into simulations
# [ run test_upnp.cpp ]
# [ run test_lsd.cpp ]
;
# these are the tests run on appveyor, while the flapping ones are being
# transitioned into simulations
alias win-tests :
test_primitives
test_pe_crypto
test_utp
test_remap_files
test_auto_unchoke
test_torrent
test_http_connection
test_transfer
test_time_critical
test_metadata_extension
test_pex
test_priority
test_super_seeding
test_swarm
test_storage
test_session
test_read_piece
test_file
test_fast_extension
test_recheck
test_resume
test_tracker
test_checking
;
explicit win-tests ;