1# Jamfile.v2 2# 3# Copyright (c) 2007-2009 4# Steven Watanabe 5# 6# Distributed under the Boost Software License, Version 1.0. (See 7# accompanying file LICENSE_1_0.txt or copy at 8# http://www.boost.org/LICENSE_1_0.txt 9 10import testing ; 11 12warning-options = <warnings>all <warnings-as-errors>on ; 13warning-compilers = 14 <toolset>msvc 15; 16 17project boost/units/test : 18 requirements 19 <implicit-dependency>/boost//headers 20 <toolset>msvc:<asynch-exceptions>on 21 $(warning-compilers):$(warning-options) 22 # This warning comes from the test library. 23 <toolset>msvc:<cxxflags>"/wd4701" 24 # The comes from the exception library 25 <toolset>msvc,<toolset-msvc:version>7.1:<cxxflags>"/wd4800" 26; 27 28alias test_framework : /boost//unit_test_framework/<warnings-as-errors>off ; 29 30compile test_predicates.cpp ; 31compile test_negative_denominator.cpp ; 32compile test_dimensionless_ice1.cpp ; 33compile test_dimensionless_ice2.cpp ; 34compile test_mixed_value_types.cpp ; 35compile test_complicated_system.cpp ; 36compile test_reduce_unit.cpp ; 37compile test_unscale.cpp ; 38compile test_constants.cpp ; 39 40run test_dimensionless_quantity.cpp ; 41run test_implicit_conversion.cpp ; 42run test_quantity.cpp ; 43run test_unit.cpp ; 44run test_conversion.cpp test_framework ; 45run test_base_dimension.cpp ; 46run test_absolute.cpp ; 47run test_default_conversion.cpp ; 48run test_cmath.cpp ; 49run test_limits.cpp ; 50run test_custom_unit.cpp ; 51run test_scaled_conversion.cpp ; 52run test_lambda.cpp ; 53run test_scaled_unit.cpp test_framework ; 54run test_output.cpp test_framework /boost//regex/<warnings-as-errors>off : : : <test-info>always_show_run_output ; 55run test_trig.cpp test_framework ; 56run test_information_units.cpp test_framework ; 57 58compile-fail fail_implicit_conversion.cpp ; 59compile-fail fail_quantity_construct.cpp ; 60compile-fail fail_quantity_assign.cpp ; 61compile-fail fail_quantity_add.cpp ; 62compile-fail fail_quantity_subtract.cpp ; 63compile-fail fail_quantity_add_assign.cpp ; 64compile-fail fail_quantity_sub_assign.cpp ; 65compile-fail fail_quantity_scalar_add.cpp ; 66compile-fail fail_quantity_scalar_sub.cpp ; 67compile-fail fail_quantity_unit_add.cpp ; 68compile-fail fail_quantity_unit_subtract.cpp ; 69compile-fail fail_scalar_quantity_add.cpp ; 70compile-fail fail_scalar_quantity_sub.cpp ; 71compile-fail fail_unit_quantity_add.cpp ; 72compile-fail fail_unit_quantity_subtract.cpp ; 73compile-fail fail_adl_detail.cpp ; 74compile-fail fail_heterogeneous_unit.cpp ; 75compile-fail fail_base_dimension.cpp ; 76compile-fail fail_add_temperature.cpp ; 77compile-fail fail_quantity_non_unit.cpp ; 78