diff options
author | Kenneth Heafield <github@kheafield.com> | 2014-03-11 22:11:24 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2014-03-11 22:11:24 +0400 |
commit | e1d8f5c2aed59a9155eeeb3fb3429f7569ca679e (patch) | |
tree | 0ea674db285d0fd503aad6066c39fc1222a7fd1a /util | |
parent | ca9e3aaf8497281000ac4cc8731a22b0bc9df237 (diff) |
Do not compile pcqueue_test for single-threaded builds
Diffstat (limited to 'util')
-rw-r--r-- | util/Jamfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/Jamfile b/util/Jamfile index 5ee5c1c10..c292e0da3 100644 --- a/util/Jamfile +++ b/util/Jamfile @@ -24,7 +24,10 @@ fakelib kenutil : bit_packing.cc ersatz_progress.cc exception.cc file.cc file_pi import testing ; run file_piece_test.o kenutil /top//boost_unit_test_framework : : file_piece.cc ; -for local t in [ glob *_test.cc : file_piece_test.cc read_compressed_test.cc ] { +unit-test pcqueue_test : pcqueue_test.cc kenutil /top//boost_unit_test_framework /top//boost_system : <threading>single:<build>no ; + +for local t in [ glob *_test.cc : file_piece_test.cc read_compressed_test.cc pcqueue_test.cc ] { local name = [ MATCH "(.*)\.cc" : $(t) ] ; unit-test $(name) : $(t) kenutil /top//boost_unit_test_framework /top//boost_system ; } + |