2003-07-12 04:15:13 +00:00
|
|
|
# Copyright David Abrahams 2003. Permission to copy, use,
|
|
|
|
# modify, sell and distribute this software is granted provided this
|
|
|
|
# copyright notice appears in all copies. This software is provided
|
|
|
|
# "as is" without express or implied warranty, and with no claim as
|
|
|
|
# to its suitability for any purpose.
|
2003-07-12 10:41:38 +00:00
|
|
|
|
|
|
|
subproject libs/iterator/test ;
|
|
|
|
|
2003-09-08 17:38:49 +00:00
|
|
|
import testing ;
|
2003-07-12 04:15:13 +00:00
|
|
|
|
|
|
|
test-suite iterator
|
2003-07-16 19:35:46 +00:00
|
|
|
:
|
|
|
|
# These first two tests will run last, and are expected to fail
|
|
|
|
# for many less-capable compilers.
|
|
|
|
|
|
|
|
[ compile-fail interoperable_fail.cpp ]
|
|
|
|
# test uses expected success, so that we catch unrelated
|
|
|
|
# compilation problems.
|
|
|
|
[ run is_convertible_fail.cpp ]
|
|
|
|
|
2004-01-06 17:35:36 +00:00
|
|
|
[ run zip_iterator_test.cpp
|
|
|
|
: : :
|
|
|
|
|
|
|
|
# stlport's debug mode generates long symbols which overwhelm
|
|
|
|
# vc6
|
|
|
|
<msvc-stlport><*><runtime-build>release
|
|
|
|
]
|
2003-11-22 01:18:37 +00:00
|
|
|
|
2003-07-16 19:35:46 +00:00
|
|
|
# These tests should work for just about everything.
|
2003-11-04 08:03:29 +00:00
|
|
|
[ compile is_lvalue_iterator.cpp ]
|
2003-11-05 21:48:16 +00:00
|
|
|
[ compile is_readable_iterator.cpp ]
|
2004-01-11 00:03:09 +00:00
|
|
|
[ compile pointee.cpp ]
|
2003-11-05 21:48:16 +00:00
|
|
|
|
2003-07-16 19:35:46 +00:00
|
|
|
[ run unit_tests.cpp ]
|
2003-07-12 04:15:13 +00:00
|
|
|
[ run concept_tests.cpp ]
|
|
|
|
[ run iterator_adaptor_cc.cpp ]
|
|
|
|
[ run iterator_adaptor_test.cpp ]
|
|
|
|
[ compile iterator_archetype_cc.cpp ]
|
2004-09-18 13:32:24 +00:00
|
|
|
[ compile-fail iter_archetype_default_ctor.cpp ]
|
|
|
|
[ compile-fail lvalue_concept_fail.cpp ]
|
2003-07-12 04:15:13 +00:00
|
|
|
[ run transform_iterator_test.cpp ]
|
|
|
|
[ run indirect_iterator_test.cpp ]
|
2004-09-18 13:32:24 +00:00
|
|
|
[ compile indirect_iter_member_types.cpp ]
|
2003-07-12 04:15:13 +00:00
|
|
|
[ run filter_iterator_test.cpp ]
|
2004-07-12 03:18:49 +00:00
|
|
|
[ run iterator_facade.cpp ]
|
2003-07-12 04:15:13 +00:00
|
|
|
[ run reverse_iterator_test.cpp ]
|
|
|
|
[ run counting_iterator_test.cpp ]
|
2004-01-15 17:08:04 +00:00
|
|
|
[ run interoperable.cpp ]
|
2003-08-28 20:18:51 +00:00
|
|
|
[ run permutation_iterator_test.cpp : : : # <stlport-iostream>on
|
|
|
|
]
|
2003-07-12 04:15:13 +00:00
|
|
|
|
|
|
|
[ run ../../utility/iterator_adaptor_examples.cpp ]
|
|
|
|
[ run ../../utility/counting_iterator_example.cpp ]
|
|
|
|
[ run ../../utility/filter_iterator_example.cpp ]
|
|
|
|
[ run ../../utility/fun_out_iter_example.cpp ]
|
|
|
|
[ run ../../utility/indirect_iterator_example.cpp ]
|
|
|
|
[ run ../../utility/projection_iterator_example.cpp ]
|
|
|
|
[ run ../../utility/reverse_iterator_example.cpp ]
|
|
|
|
[ run ../../utility/transform_iterator_example.cpp ]
|
2003-08-28 16:52:02 +00:00
|
|
|
[ run ../../utility/iterator_traits_test.cpp ]
|
2004-02-02 22:16:36 +00:00
|
|
|
[ run ../../utility/shared_iterator_test.cpp ]
|
2003-07-12 10:41:38 +00:00
|
|
|
;
|