Jamfile 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. # Boost regression-testing Jamfile
  2. # (C) Copyright David Abrahams 2001. Permission to copy, use, modify, sell and
  3. # distribute this software is granted provided this copyright notice appears in
  4. # all copies. This software is provided "as is" without express or implied
  5. # warranty, and with no claim as to its suitability for any purpose.
  6. subproject status ;
  7. # ----------- Jam rules for testing; test invocations at bottom ----------------#
  8. #######################################################################################
  9. # Tests generate a number of files reflecting their status in the subvariant-directory
  10. #
  11. # <test-name>.test - a marker so that Jam knows when it needs to be
  12. # rebuilt. It will contain the paths from this
  13. # directory to the source files used for the test
  14. #
  15. # <test-name>.success - present only if the test last succeeded.
  16. # Contains the string "succeeded"
  17. #
  18. # <test-name>.failure - present only if the test last failed. Contains the string
  19. # "failed".
  20. #
  21. # <test-name>.output - contains the output of the test if it was a run test.
  22. #######################################################################################
  23. # Declares a test target. If name is not supplied, it is taken from the name of
  24. # the first source file, sans extension and directory path.
  25. #
  26. # type should be a target type (e.g. OBJ, DLL, LIB, EXE)
  27. #
  28. # RETURNS the name(s) of the generated test target(s).
  29. rule boost-test ( sources + : target-type : requirements * : test-name ? )
  30. {
  31. local result ;
  32. {
  33. # manufacture a test name if none supplied explicitly
  34. test-name ?= $(sources[1]:D=:S=) ;
  35. # Make sure that targets don't become part of "all"
  36. local gSUPPRESS_FAKE_TARGETS = true ;
  37. local dependencies = [ select-gristed $(sources) ] ;
  38. local source-files = [ select-ungristed $(sources) ] ;
  39. result = [
  40. declare-local-target $(test-name)
  41. : $(source-files:R=$(BOOST_ROOT)) $(dependencies) # sources
  42. : $(requirements) <include>$(BOOST_ROOT) # requirements
  43. : # default build
  44. : $(target-type)
  45. ] ;
  46. }
  47. Clean clean : $(result) ;
  48. # make NOTFILE targets of the same base name as the sources which can
  49. # be used to build a single test.
  50. type-DEPENDS $(sources:B:S=) : $(result) ;
  51. # The NOTFILE target called "test" builds all tests
  52. type-DEPENDS test : $(result) ;
  53. return $(result) ;
  54. }
  55. #######
  56. BOOST_TEST_SUFFIX ?= .test ;
  57. # a utility rule which causes test-file to be built successfully, only if
  58. # dependency fails to build. Used for expected-failure tests.
  59. rule failed-test-file ( test-file : dependency + )
  60. {
  61. catenate-output-on-failure $(test-file) : $(dependency[1]) ;
  62. DEPENDS $(test-file) : $(dependency) ;
  63. NOCARE $(dependency) ;
  64. TEMPORARY $(dependency) ;
  65. }
  66. # a utility rule which causes test-file to be built successfully, only if
  67. # dependency builds. Used for expected-failure tests.
  68. rule succeeded-test-file ( test-file : dependency + )
  69. {
  70. catenate-output-on-failure $(test-file) : $(dependency[1]) ;
  71. DEPENDS $(test-file) : $(dependency) ;
  72. NOCARE $(dependency) ;
  73. TEMPORARY $(dependency) ;
  74. }
  75. rule catenate-output-on-failure ( test-file : dependency )
  76. {
  77. if $(gTEST_OUTPUT_FILE($(dependency)))
  78. {
  79. output-file on $(test-file) = $(gTEST_OUTPUT_FILE($(dependency))) ;
  80. }
  81. }
  82. if $(NT)
  83. {
  84. CATENATE1 = "if exist \"" ;
  85. CATENATE2 = "\" ( type \"" ;
  86. CATENATE3 = "\"
  87. ECHO ****************************************************** )" ;
  88. actions failed-test-file bind output-file source-files
  89. {
  90. echo "$(source-files)" > $(<:S=.test)
  91. if EXIST "$(>)". (
  92. if EXIST "$(<:S=.success)". del /f/q "$(<:S=.success)".
  93. echo "failed" > "$(<:S=.failure)"
  94. echo *
  95. echo ***************** failed above test: $(<:B:S=) ********************
  96. $(CATENATE1)$(output-file)$(CATENATE2)$(output-file)$(CATENATE3)
  97. echo *
  98. ) ELSE (
  99. if EXIST "$(<:S=.failure)". del /f/q "$(<:S=.failure)".
  100. echo succeeded > "$(<:S=.success)"
  101. )
  102. }
  103. actions succeeded-test-file bind output-file source-files
  104. {
  105. echo "$(source-files)" > $(<:S=.test)
  106. if EXIST "$(>)". (
  107. if EXIST "$(<:S=.failure)". del /f/q "$(<:S=.failure)".
  108. echo succeeded > "$(<:S=.success)"
  109. ) ELSE (
  110. if EXIST "$(<:S=.success)". del /f/q "$(<:S=.success)".
  111. echo failed > "$(<:S=.failure)"
  112. echo *
  113. echo ***************** failed above test: $(<:B:S=) ********************
  114. $(CATENATE1)$(output-file)$(CATENATE2)$(output-file)$(CATENATE3)
  115. echo *
  116. )
  117. }
  118. }
  119. else
  120. {
  121. CATENATE = "cat " ;
  122. CATENATE1 = "if [ -f \"" ;
  123. CATENATE2 = "\" ] ; then
  124. cat \"" ;
  125. CATENATE3 = "\" ; echo ******************************************************
  126. fi" ;
  127. actions failed-test-file bind output-file source-files
  128. {
  129. echo "$(source-files)" > $(<:S=.test)
  130. if [ -f "$(>)" ] ; then
  131. if [ -f "$(<:S=.success)" ] ; then
  132. $(RM) "$(<:S=.success)"
  133. fi
  134. echo "failed" > $(<:S=.failure)
  135. echo "*"
  136. echo "***************** failed above test: $(<:B:S=) ********************"
  137. $(CATENATE1)$(output-file)$(CATENATE2)$(output-file)$(CATENATE3)
  138. echo "*"
  139. else
  140. if [ -f "$(<:S=.failure)" ] ; then
  141. $(RM) "$(<:S=.failure)"
  142. fi
  143. echo "succeeded" > "$(<:S=.success)"
  144. fi
  145. }
  146. actions succeeded-test-file bind output-file source-files
  147. {
  148. echo "$(source-files)" > "$(<:S=.test)"
  149. if [ -f "$(>)" ] ; then
  150. if [ -f "$(<:S=.failure)" ] ; then
  151. $(RM) "$(<:S=.failure)"
  152. fi
  153. echo "succeeded" > "$(<:S=.success)"
  154. else
  155. if [ -f "$(<:S=.success)" ] ; then
  156. $(RM) "$(<:S=.success)"
  157. fi
  158. echo "failed" > "$(<:S=.failure)"
  159. echo "*"
  160. echo "***************** failed above test: $(<:B:S=) ********************"
  161. $(CATENATE1)$(output-file)$(CATENATE2)$(output-file)$(CATENATE3)
  162. echo "*"
  163. fi
  164. }
  165. }
  166. rule declare-build-succeed-test ( test-type : dependency-type )
  167. {
  168. gGENERATOR_FUNCTION($(test-type)) = build-test succeeded-test-file ;
  169. gDEPENDENCY_TYPE($(test-type)) = $(dependency-type) ;
  170. SUF$(test-type) = $(BOOST_TEST_SUFFIX) ;
  171. }
  172. # A utility rule which declares test-type to be a target type which
  173. # depends on the /failed/ construction of a target of type
  174. # dependency-type.
  175. rule declare-build-fail-test ( test-type : dependency-type )
  176. {
  177. gGENERATOR_FUNCTION($(test-type)) = build-test failed-test-file ;
  178. gDEPENDENCY_TYPE($(test-type)) = $(dependency-type) ;
  179. SUF$(test-type) = $(BOOST_TEST_SUFFIX) ;
  180. }
  181. # A target generator function for target types declared with
  182. # declare-build-fail-test, above.
  183. rule build-test ( test-file-generator test-file + : sources + : requirements * )
  184. {
  185. # Get the target type of the current target out of the build properties
  186. local target-type = [ get-values <target-type> : $(gBUILD_PROPERTIES) ] ;
  187. # Get the type of target to attempt to build; the outcome of this
  188. # attempt determines the result of the test.
  189. local dependency-type = $(gDEPENDENCY_TYPE($(target-type))) ;
  190. # Get the actual name of the target to attempt to build
  191. local dependency = $(test-file[1]:S=$(SUF$(dependency-type))) ;
  192. # record the source file names so we can put them in the .test
  193. # file.
  194. source-files on $(test-file) = $(sources) ;
  195. # Call dependency-type's generator function to attempt the build
  196. local ignored = [
  197. $(gGENERATOR_FUNCTION($(dependency-type))) $(dependency) : $(>) : $(3) ] ;
  198. # Generator functions don't handle this job for us; perhaps they should.
  199. set-target-variables $(dependency) ;
  200. # The .test file goes with the other subvariant targets
  201. MakeLocate $(test-file:S=.test) : $(LOCATE_TARGET) ;
  202. MakeLocate $(test-file:S=.success) : $(LOCATE_TARGET) ;
  203. MakeLocate $(test-file:S=.failure) : $(LOCATE_TARGET) ;
  204. # Generate the test file
  205. $(test-file-generator) $(test-file) : $(dependency) ;
  206. }
  207. ### Rules for testing whether a file compiles ###
  208. # Establish the rule which generates targets of type "OBJ". Should really go
  209. # into basic build system, but wasn't needed 'till now.
  210. gGENERATOR_FUNCTION(OBJ) = Object ;
  211. declare-build-fail-test COMPILE_FAIL : OBJ ;
  212. declare-build-succeed-test COMPILE : OBJ ;
  213. # Test that the given source-file(s) compile
  214. rule compile # source-file : fail : requirements
  215. {
  216. return [ boost-test $(<) : COMPILE : $(3) ] ;
  217. }
  218. # Test that the given source-file(s) fail to compile
  219. rule compile-fail # source-file : requirements
  220. {
  221. return [ boost-test $(<) : COMPILE_FAIL : $(2) ] ;
  222. }
  223. ### Rules for testing whether a program runs ###
  224. gGENERATOR_FUNCTION(RUN_TEST) = run-test ;
  225. SUFRUN_TEST = .run ;
  226. rule run-test ( target : sources + : requirements * )
  227. {
  228. local executable = $(target:S=$(SUFEXE)) ;
  229. local parent = $(target:S=.test) ;
  230. # Move important data from the test target to the executable
  231. gRUN_LD_LIBRARY_PATH($(executable)) = $(gRUN_LD_LIBRARY_PATH($(parent))) ;
  232. gRUN_PATH($(executable)) = $(gRUN_PATH($(parent))) ;
  233. executable-file $(executable) : $(sources) : $(requirements) ;
  234. set-target-variables $(executable) ;
  235. # The .test file goes with the other subvariant targets
  236. # normalization is a hack to get the slashes going the right way on Windoze
  237. local LOCATE_TARGET = [ FDirName [ split-path $(LOCATE_TARGET) ] ] ;
  238. MakeLocate $(target) : $(LOCATE_TARGET) ;
  239. DEPENDS $(target) : $(executable) $(gRUN_TEST_INPUT_FILES) ;
  240. INPUT_FILES on $(target) = $(gRUN_TEST_INPUT_FILES) ;
  241. ARGS on $(target) = $(gRUN_TEST_ARGS) ;
  242. capture-run-output $(target) : $(executable) ;
  243. if $(RUN_ALL_TESTS)
  244. {
  245. ALWAYS $(target) ;
  246. }
  247. }
  248. # The rule is just used for argument checking
  249. rule capture-run-output ( target : executable + )
  250. {
  251. gTEST_OUTPUT_FILE($(target)) = $(target:S=.output) ;
  252. INCLUDES $(target) : $(target:S=.output) ;
  253. MakeLocate $(test-file:S=.failure) : $(LOCATE_TARGET) ;
  254. MakeLocate $(test-file:S=.output) : $(LOCATE_TARGET) ;
  255. capture-run-output1 $(target) : $(executable) ;
  256. }
  257. rule capture-run-output1 ( target : executable )
  258. {
  259. output-file on $(target) = $(target:S=.output) ;
  260. local targets = $(target) $(target:S=.output) ;
  261. RUN_PATH on $(targets) = [ join $(gRUN_PATH($(executable))) : $(SPLITPATH) ] ;
  262. if $(UNIX)
  263. {
  264. RUN_LD_LIBRARY_PATH on $(targets) = [ join $(gRUN_LD_LIBRARY_PATH($(executable))) : $(SPLITPATH) ] ;
  265. }
  266. }
  267. if $(UNIX)
  268. {
  269. actions capture-run-output1 bind INPUT_FILES output-file
  270. {
  271. $(SHELL_SET)PATH=$(RUN_PATH):$PATH
  272. $(SHELL_EXPORT)PATH
  273. $(SHELL_SET)LD_LIBRARY_PATH=$(RUN_LD_LIBRARY_PATH):$LD_LIBRARY_PATH
  274. $(SHELL_EXPORT)LD_LIBRARY_PATH
  275. $(>) $(ARGS) $(INPUT_FILES) > $(output-file) 2>&1 && $(CP) $(output-file) $(<[1])
  276. }
  277. }
  278. else
  279. {
  280. actions capture-run-output1 bind INPUT_FILES output-file
  281. {
  282. $(SHELL_SET)PATH=$(RUN_PATH);%PATH%
  283. $(SHELL_EXPORT)PATH
  284. $(>) $(ARGS) $(INPUT_FILES) > $(output-file) 2>&1 && $(CP) $(output-file) $(<[1])
  285. }
  286. }
  287. declare-build-fail-test RUN_FAIL : RUN_TEST ;
  288. declare-build-succeed-test RUN : RUN_TEST ;
  289. rule run ( sources + : args * : input-files * : requirements * : name ? )
  290. {
  291. local gRUN_TEST_ARGS = $(args) ;
  292. local gRUN_TEST_INPUT_FILES = $(input-files) ;
  293. SEARCH on $(input-files) = $(LOCATE_SOURCE) ;
  294. return [ boost-test $(sources) : RUN : $(requirements) : $(name) ] ;
  295. }
  296. rule run-fail # sources : args : input-files : requirements
  297. {
  298. local gRUN_TEST_ARGS = $(2) ;
  299. local gRUN_TEST_INPUT_FILES = $(3) ;
  300. SEARCH on $(3) = $(LOCATE_SOURCE) ;
  301. return [ boost-test $(<) : RUN_FAIL : $(4) ] ;
  302. }
  303. ### Rules for testing whether a program links
  304. declare-build-fail-test LINK_FAIL : EXE ;
  305. rule link-fail # sources : requirements
  306. {
  307. return [ boost-test $(<) : LINK_FAIL : $(2) ] ;
  308. }
  309. ### Rules for grouping tests into suites:
  310. rule test-suite # pseudotarget-name : test-targets...
  311. {
  312. NOTFILE $(<) ;
  313. type-DEPENDS $(<) : $(>) ;
  314. }
  315. # ----------- Actual test invocations follow ----------------#
  316. test-suite "bind"
  317. : [ run libs/bind/bind_test.cpp ]
  318. [ run libs/bind/bind_test.cpp ]
  319. [ run libs/bind/mem_fn_test.cpp ]
  320. [ run libs/bind/mem_fn_void_test.cpp ]
  321. ;
  322. test-suite config
  323. : [ run libs/config/test/config_test.cpp
  324. : #args
  325. : #input-files
  326. : #requirements
  327. <threading>multi
  328. ]
  329. [ run libs/config/test/config_info.cpp ]
  330. [ run libs/config/test/limits_test.cpp ]
  331. ;
  332. run libs/any/any_test.cpp ;
  333. run libs/array/array1.cpp ;
  334. test-suite concept_check
  335. : [ compile libs/concept_check/concept_check_test.cpp ]
  336. [ compile libs/concept_check/class_concept_check_test.cpp ]
  337. [ link-fail libs/concept_check/concept_check_fail_expected.cpp ]
  338. [ link-fail libs/concept_check/class_concept_fail_expected.cpp ]
  339. ;
  340. test-suite conversion
  341. : [ run libs/conversion/cast_test.cpp ]
  342. [ run libs/conversion/lexical_cast_test.cpp ]
  343. ;
  344. run libs/crc/crc_test.cpp ;
  345. run libs/function/test/function_test.cpp ;
  346. run libs/functional/function_test.cpp ;
  347. run libs/graph/test/graph.cpp ;
  348. test-suite integer
  349. : [ run libs/integer/cstdint_test.cpp ]
  350. [ run libs/integer/integer_test.cpp ]
  351. [ run libs/integer/integer_traits_test.cpp ]
  352. ;
  353. test-suite math
  354. : [ run libs/math/test/common_factor_test.cpp ]
  355. [ run libs/math/octonion/octonion_test.cpp ]
  356. [ run libs/math/quaternion/quaternion_test.cpp ]
  357. [ run libs/math/special_functions/special_functions_test.cpp ]
  358. ;
  359. run libs/pool/test/test_pool_alloc.cpp ;
  360. test-suite rational
  361. : [ run libs/rational/rational_example.cpp ]
  362. [ run libs/rational/rational_test.cpp ]
  363. ;
  364. test-suite random
  365. : [ run libs/random/random_test.cpp ]
  366. [ run libs/random/random_demo.cpp ]
  367. ;
  368. run libs/utility/ref_test.cpp ;
  369. {
  370. local test-dir = $(BOOST_ROOT)$(SLASH)libs$(SLASH)regex$(SLASH)test$(SLASH)regress$(SLASH) ;
  371. local test-files = $(test-dir)tests.txt
  372. # dwa -- not sure if this is generally applicable
  373. # $(test-dir)test1252.txt
  374. ;
  375. test-suite regex
  376. : [ run libs/regex/test/regress/parse.cpp libs/regex/test/regress/regress.cpp libs/regex/test/regress/tests.cpp
  377. <lib>../libs/regex/build/boost_regex$(SUFLIB)
  378. :
  379. $(test-files)
  380. :
  381. :
  382. <define>BOOST_REGEX_NO_LIB=1
  383. <define>BOOST_REGEX_STATIC_LINK=1
  384. :
  385. regress ]
  386. [ run libs/regex/test/regress/parse.cpp libs/regex/test/regress/regress.cpp libs/regex/test/regress/tests.cpp
  387. <lib>../libs/regex/build/boost_regex$(SUFLIB)
  388. :
  389. $(test-files)
  390. :
  391. :
  392. <define>BOOST_REGEX_NO_LIB=1
  393. <define>TEST_UNICODE=1
  394. <define>BOOST_REGEX_STATIC_LINK=1
  395. :
  396. wregress ]
  397. [ run libs/regex/test/c_compiler_checks/posix_api_check.c
  398. <lib>../libs/regex/build/boost_regex$(SUFLIB)
  399. :
  400. :
  401. :
  402. <define>BOOST_REGEX_NO_LIB=1
  403. <define>BOOST_REGEX_STATIC_LINK=1
  404. :
  405. posix_api_check_c
  406. ]
  407. [ run libs/regex/test/c_compiler_checks/wide_posix_api_check.c
  408. <lib>../libs/regex/build/boost_regex$(SUFLIB)
  409. :
  410. :
  411. :
  412. <define>BOOST_REGEX_NO_LIB=1
  413. <define>BOOST_REGEX_STATIC_LINK=1
  414. :
  415. wide_posix_api_check_c
  416. ]
  417. [ run libs/regex/test/c_compiler_checks/posix_api_check.cpp
  418. <lib>../libs/regex/build/boost_regex$(SUFLIB)
  419. :
  420. :
  421. :
  422. <define>BOOST_REGEX_NO_LIB=1
  423. <define>BOOST_REGEX_STATIC_LINK=1
  424. ]
  425. [ run libs/regex/test/c_compiler_checks/wide_posix_api_check.cpp
  426. <lib>../libs/regex/build/boost_regex$(SUFLIB)
  427. :
  428. :
  429. :
  430. <define>BOOST_REGEX_NO_LIB=1
  431. <define>BOOST_REGEX_STATIC_LINK=1
  432. ]
  433. ;
  434. }
  435. run libs/smart_ptr/smart_ptr_test.cpp ;
  436. test-suite static_assert
  437. : [ compile libs/static_assert/static_assert_test.cpp ]
  438. [ compile-fail libs/static_assert/static_assert_test_fail_1.cpp ]
  439. [ compile-fail libs/static_assert/static_assert_test_fail_2.cpp ]
  440. [ compile-fail libs/static_assert/static_assert_test_fail_3.cpp ]
  441. [ compile-fail libs/static_assert/static_assert_test_fail_4.cpp ]
  442. [ compile-fail libs/static_assert/static_assert_test_fail_5.cpp ]
  443. [ compile-fail libs/static_assert/static_assert_test_fail_6.cpp ]
  444. [ compile-fail libs/static_assert/static_assert_test_fail_7.cpp ]
  445. [ link-fail libs/static_assert/static_assert_test_fail_8.cpp ]
  446. ;
  447. run libs/test/example/test_tools_example.cpp ;
  448. run-fail libs/test/test/test_tools_fail2.cpp ;
  449. {
  450. local threadmon ;
  451. if $(NT)
  452. {
  453. threadmon = <dll>../libs/thread/build/boost_threadmon ;
  454. }
  455. test-suite threads
  456. : [
  457. run libs/thread/test/test_thread.cpp
  458. <lib>../libs/thread/build/boost_thread
  459. $(threadmon)
  460. : #args
  461. : #input-files
  462. : #requirements
  463. <threading>multi
  464. ]
  465. ;
  466. }
  467. compile libs/timer/timer_test.cpp ;
  468. test-suite tokenizer
  469. : [ run libs/tokenizer/examples.cpp ]
  470. [ run libs/tokenizer/simple_example_1.cpp ]
  471. [ run libs/tokenizer/simple_example_2.cpp ]
  472. [ run libs/tokenizer/simple_example_3.cpp ]
  473. [ run libs/tokenizer/simple_example_4.cpp ]
  474. [ run libs/tokenizer/simple_example_5.cpp ]
  475. ;
  476. test-suite type_traits
  477. : [ run libs/type_traits/tests/alignment_test.cpp ]
  478. [ run libs/type_traits/tests/arithmetic_traits_test.cpp ]
  479. [ run libs/type_traits/tests/composite_traits_test.cpp ]
  480. [ run libs/type_traits/tests/cv_traits_test.cpp ]
  481. [ run libs/type_traits/tests/is_function_test.cpp ]
  482. [ run libs/type_traits/tests/is_convertible_test.cpp ]
  483. [ run libs/type_traits/tests/is_same_test.cpp ]
  484. [ run libs/type_traits/tests/object_type_traits_test.cpp ]
  485. [ run libs/type_traits/tests/transform_traits_test.cpp ]
  486. ;
  487. run libs/utility/call_traits_test.cpp : -u ;
  488. compile-fail libs/utility/checked_delete_test.cpp ;
  489. run libs/utility/compressed_pair_test.cpp : -u ;
  490. test-suite iterator_adaptors
  491. : [ run libs/utility/counting_iterator_test.cpp : # args
  492. : # input files
  493. : # requirements
  494. # borland warns incorrectly in this case, so often that
  495. # successful compilation is prevented.
  496. <borland><*><cxxflags>"-w-8091 -w-8092"
  497. ]
  498. [ run libs/utility/iterator_adaptor_test.cpp ]
  499. [ compile-fail libs/utility/iter_adaptor_fail_expected1.cpp ]
  500. [ compile-fail libs/utility/iter_adaptor_fail_expected2.cpp ]
  501. [ run libs/utility/transform_iterator_test.cpp ]
  502. [ run libs/utility/indirect_iterator_test.cpp ]
  503. [ run libs/utility/iter_traits_gen_test.cpp ]
  504. [ run libs/utility/iterator_adaptor_examples.cpp ]
  505. [ run libs/utility/counting_iterator_example.cpp ]
  506. [ run libs/utility/filter_iterator_example.cpp ]
  507. [ run libs/utility/fun_out_iter_example.cpp ]
  508. [ run libs/utility/indirect_iterator_example.cpp ]
  509. [ run libs/utility/projection_iterator_example.cpp ]
  510. [ run libs/utility/reverse_iterator_example.cpp ]
  511. [ run libs/utility/transform_iterator_example.cpp ]
  512. ;
  513. run libs/utility/iterator_traits_test.cpp ;
  514. run libs/utility/iterators_test.cpp ;
  515. compile-fail libs/utility/noncopyable_test.cpp ;
  516. run libs/utility/numeric_traits_test.cpp ;
  517. run libs/utility/operators_test.cpp ;
  518. run libs/utility/tie_example.cpp ;
  519. run libs/utility/binary_search_test.cpp ;
粤ICP备19079148号