# Boost.Optional Library test Jamfile
#
# Copyright (C) 2003, Fernando Luis Cacciola Carballal.
#
# Use, modification, and distribution is subject to 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)
#

subproject libs/optional/test ;

# bring in rules for testing
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
include testing.jam ;

# Make tests run by default.
DEPENDS all : test ;

{
  test-suite optional :
    [ run optional_test.cpp ]
    [ run optional_test_tie.cpp ]
    [ run optional_test_ref.cpp ]
    [ run optional_test_inplace.cpp ]
    [ compile-fail optional_test_fail1.cpp ]
    [ compile-fail optional_test_fail2.cpp ]
    [ compile-fail optional_test_fail3a.cpp ]
    [ compile-fail optional_test_fail3b.cpp ]
    [ compile-fail optional_test_ref_fail1.cpp ]
    [ compile-fail optional_test_ref_fail2.cpp ]
    [ compile-fail optional_test_ref_fail3.cpp ]
    [ compile-fail optional_test_ref_fail4.cpp ]
    [ compile-fail optional_test_inplace_fail.cpp ]
    [ compile-fail optional_test_inplace_fail2.cpp ]
  ;
}
