From e549baf93af0a2ac9afb6eb5ae66a6def03340ca Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Sun, 10 Oct 2004 16:15:58 +0000 Subject: [PATCH] move enable_if tests into their own subdirectory [SVN r25649] --- enable_if/test/Jamfile | 33 +++++++++++++++++++ .../test/constructors.cpp | 0 .../test/dummy_arg_disambiguation.cpp | 0 enable_if_lazy.cpp => enable_if/test/lazy.cpp | 0 .../test/lazy_test.cpp | 0 .../test/member_templates.cpp | 0 .../test/namespace_disambiguation.cpp | 0 .../test/no_disambiguation.cpp | 0 .../test/partial_specializations.cpp | 0 test/Jamfile | 8 ----- test/Jamfile.v2 | 8 ----- 11 files changed, 33 insertions(+), 16 deletions(-) create mode 100644 enable_if/test/Jamfile rename enable_if_constructors.cpp => enable_if/test/constructors.cpp (100%) rename enable_if_dummy_arg_disambiguation.cpp => enable_if/test/dummy_arg_disambiguation.cpp (100%) rename enable_if_lazy.cpp => enable_if/test/lazy.cpp (100%) rename enable_if_lazy_test.cpp => enable_if/test/lazy_test.cpp (100%) rename enable_if_member_templates.cpp => enable_if/test/member_templates.cpp (100%) rename enable_if_namespace_disambiguation.cpp => enable_if/test/namespace_disambiguation.cpp (100%) rename enable_if_no_disambiguation.cpp => enable_if/test/no_disambiguation.cpp (100%) rename enable_if_partial_specializations.cpp => enable_if/test/partial_specializations.cpp (100%) diff --git a/enable_if/test/Jamfile b/enable_if/test/Jamfile new file mode 100644 index 0000000..f2e5ee3 --- /dev/null +++ b/enable_if/test/Jamfile @@ -0,0 +1,33 @@ +# Copyright David Abrahams 2003. +# 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) + +# For more information, see http://www.boost.org/ + +subproject libs/utility/enable_if/test ; + +# bring in rules for testing +import testing ; + +# Make tests run by default. +DEPENDS all : test ; + +{ + local test_monitor = @boost/libs/test/build/boost_test_exec_monitor ; + + # look in BOOST_ROOT for sources first, just in this Jamfile + local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ; + + test-suite utility/enable_if + : + [ run libs/utility/enable_if/test/constructors.cpp $(test_monitor) ] + [ run libs/utility/enable_if/test/dummy_arg_disambiguation.cpp $(test_monitor) ] + [ run libs/utility/enable_if/test/lazy.cpp $(test_monitor) ] + [ run libs/utility/enable_if/test/lazy_test.cpp $(test_monitor) ] + [ run libs/utility/enable_if/test/member_templates.cpp $(test_monitor) ] + [ run libs/utility/enable_if/test/namespace_disambiguation.cpp $(test_monitor) ] + [ run libs/utility/enable_if/test/no_disambiguation.cpp $(test_monitor) ] + [ run libs/utility/enable_if/test/partial_specializations.cpp $(test_monitor) ] + ; +} diff --git a/enable_if_constructors.cpp b/enable_if/test/constructors.cpp similarity index 100% rename from enable_if_constructors.cpp rename to enable_if/test/constructors.cpp diff --git a/enable_if_dummy_arg_disambiguation.cpp b/enable_if/test/dummy_arg_disambiguation.cpp similarity index 100% rename from enable_if_dummy_arg_disambiguation.cpp rename to enable_if/test/dummy_arg_disambiguation.cpp diff --git a/enable_if_lazy.cpp b/enable_if/test/lazy.cpp similarity index 100% rename from enable_if_lazy.cpp rename to enable_if/test/lazy.cpp diff --git a/enable_if_lazy_test.cpp b/enable_if/test/lazy_test.cpp similarity index 100% rename from enable_if_lazy_test.cpp rename to enable_if/test/lazy_test.cpp diff --git a/enable_if_member_templates.cpp b/enable_if/test/member_templates.cpp similarity index 100% rename from enable_if_member_templates.cpp rename to enable_if/test/member_templates.cpp diff --git a/enable_if_namespace_disambiguation.cpp b/enable_if/test/namespace_disambiguation.cpp similarity index 100% rename from enable_if_namespace_disambiguation.cpp rename to enable_if/test/namespace_disambiguation.cpp diff --git a/enable_if_no_disambiguation.cpp b/enable_if/test/no_disambiguation.cpp similarity index 100% rename from enable_if_no_disambiguation.cpp rename to enable_if/test/no_disambiguation.cpp diff --git a/enable_if_partial_specializations.cpp b/enable_if/test/partial_specializations.cpp similarity index 100% rename from enable_if_partial_specializations.cpp rename to enable_if/test/partial_specializations.cpp diff --git a/test/Jamfile b/test/Jamfile index 6d23821..5e6a4f5 100755 --- a/test/Jamfile +++ b/test/Jamfile @@ -27,14 +27,6 @@ test-suite utility [ compile-fail ../checked_delete_test.cpp ] [ run ../compressed_pair_test.cpp $(test_monitor) : -u ] [ run ../current_function_test.cpp : : : always_show_run_output ] - [ run ../enable_if_constructors.cpp $(test_monitor) ] - [ run ../enable_if_dummy_arg_disambiguation.cpp $(test_monitor) ] - [ run ../enable_if_lazy.cpp $(test_monitor) ] - [ run ../enable_if_lazy_test.cpp $(test_monitor) ] - [ run ../enable_if_member_templates.cpp $(test_monitor) ] - [ run ../enable_if_namespace_disambiguation.cpp $(test_monitor) ] - [ run ../enable_if_no_disambiguation.cpp $(test_monitor) ] - [ run ../enable_if_partial_specializations.cpp $(test_monitor) ] [ run ../iterator_traits_test.cpp ] [ run ../iterators_test.cpp $(test_monitor) ] [ run next_prior_test.cpp $(test_monitor) ] diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 9eb3bad..a4dde30 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -20,14 +20,6 @@ test-suite utility [ compile-fail ../checked_delete_test.cpp ] [ run ../compressed_pair_test.cpp ../../test/build//boost_test_exec_monitor : -u ] [ run ../current_function_test.cpp : : : always_show_run_output ] - [ run ../enable_if_constructors.cpp ../../test/build//boost_test_exec_monitor ] - [ run ../enable_if_dummy_arg_disambiguation.cpp ../../test/build//boost_test_exec_monitor ] - [ run ../enable_if_lazy.cpp ../../test/build//boost_test_exec_monitor ] - [ run ../enable_if_lazy_test.cpp ../../test/build//boost_test_exec_monitor ] - [ run ../enable_if_member_templates.cpp ../../test/build//boost_test_exec_monitor ] - [ run ../enable_if_namespace_disambiguation.cpp ../../test/build//boost_test_exec_monitor ] - [ run ../enable_if_no_disambiguation.cpp ../../test/build//boost_test_exec_monitor ] - [ run ../enable_if_partial_specializations.cpp ../../test/build//boost_test_exec_monitor ] [ run ../iterator_traits_test.cpp ] [ run ../iterators_test.cpp ../../test/build//boost_test_exec_monitor ] [ run next_prior_test.cpp ../../test/build//boost_test_exec_monitor ]