# (C) Copyright 2010: Tim Blechmann # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) import testing ; lib boost_chrono ; lib boost_interprocess ; lib boost_system ; lib boost_thread ; lib boost_unit_test_framework ; project : source-location . : requirements ../../test/build//boost_unit_test_framework ../../atomic/build//boost_atomic ; rule test_all { local all_rules = ; for local fileb in [ glob *.cpp ] { all_rules += [ run $(fileb) : # additional args : # test-files : # requirements acc:-lrt acc-pa_risc:-lrt windows,gcc:"-lole32 -loleaut32 -lpsapi -ladvapi32" hpux,gcc:"-Wl,+as,mpas" ../../thread/build//boost_thread/ multi static ] ; } return $(all_rules) ; } test-suite lockfree : [ test_all r ] : multi ;