Jamfile.v2 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947
  1. # Copyright David Abrahams, Daniel Wallin 2006.
  2. # Copyright Cromwell D. Enage 2017.
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE_1_0.txt or copy at
  5. # http://www.boost.org/LICENSE_1_0.txt)
  6. # Boost Parameter Library test Jamfile
  7. import testing ;
  8. project boost/parameter
  9. :
  10. default-build
  11. <warnings>off
  12. ;
  13. import python ;
  14. alias parameter_standard_tests
  15. :
  16. [ run maybe.cpp : : : : : <preserve-target-tests>off ]
  17. [ run singular.cpp : : : : : <preserve-target-tests>off ]
  18. [ run tutorial.cpp : : : : : <preserve-target-tests>off ]
  19. [ run compose.cpp
  20. :
  21. :
  22. :
  23. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=3
  24. :
  25. :
  26. <preserve-target-tests>off
  27. ]
  28. [ run sfinae.cpp
  29. :
  30. :
  31. :
  32. <define>BOOST_PARAMETER_MAX_ARITY=2
  33. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  34. :
  35. :
  36. <preserve-target-tests>off
  37. ]
  38. [ run efficiency.cpp
  39. :
  40. :
  41. :
  42. :
  43. :
  44. <variant>release
  45. <preserve-target-tests>off
  46. ]
  47. [ run evaluate_category.cpp
  48. :
  49. :
  50. :
  51. <define>BOOST_PARAMETER_MAX_ARITY=4
  52. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  53. :
  54. :
  55. <preserve-target-tests>off
  56. ]
  57. [ run evaluate_category_16.cpp
  58. :
  59. :
  60. :
  61. <define>BOOST_PARAMETER_MAX_ARITY=16
  62. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  63. :
  64. :
  65. <preserve-target-tests>off
  66. ]
  67. [ run parameterized_inheritance.cpp
  68. :
  69. :
  70. :
  71. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=3
  72. :
  73. :
  74. <preserve-target-tests>off
  75. ]
  76. [ run preprocessor_eval_cat_no_spec.cpp
  77. :
  78. :
  79. :
  80. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=8
  81. :
  82. :
  83. <preserve-target-tests>off
  84. ]
  85. [ run optional_deduced_sfinae.cpp
  86. :
  87. :
  88. :
  89. <define>BOOST_PARAMETER_MAX_ARITY=2
  90. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=2
  91. :
  92. :
  93. <preserve-target-tests>off
  94. ]
  95. [ run preprocessor_eval_category.cpp
  96. :
  97. :
  98. :
  99. <define>BOOST_PARAMETER_MAX_ARITY=4
  100. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  101. :
  102. :
  103. <preserve-target-tests>off
  104. ]
  105. [ run normalized_argument_types.cpp
  106. :
  107. :
  108. :
  109. <define>BOOST_PARAMETER_MAX_ARITY=2
  110. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  111. :
  112. :
  113. <preserve-target-tests>off
  114. ]
  115. [ run basics.cpp
  116. :
  117. :
  118. :
  119. <define>BOOST_PARAMETER_MAX_ARITY=4
  120. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  121. :
  122. :
  123. <preserve-target-tests>off
  124. ]
  125. [ run mpl.cpp
  126. :
  127. :
  128. :
  129. <define>BOOST_PARAMETER_MAX_ARITY=4
  130. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  131. :
  132. :
  133. <preserve-target-tests>off
  134. ]
  135. [ run preprocessor.cpp
  136. :
  137. :
  138. :
  139. <define>BOOST_PARAMETER_MAX_ARITY=4
  140. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  141. :
  142. :
  143. <preserve-target-tests>off
  144. ]
  145. [ run preprocessor_deduced.cpp
  146. :
  147. :
  148. :
  149. <define>BOOST_PARAMETER_MAX_ARITY=4
  150. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  151. :
  152. :
  153. <preserve-target-tests>off
  154. ]
  155. [ run deduced.cpp
  156. :
  157. :
  158. :
  159. <define>BOOST_PARAMETER_MAX_ARITY=4
  160. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  161. :
  162. :
  163. <preserve-target-tests>off
  164. ]
  165. [ run deduced_dependent_predicate.cpp
  166. :
  167. :
  168. :
  169. <define>BOOST_PARAMETER_MAX_ARITY=4
  170. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  171. :
  172. :
  173. <preserve-target-tests>off
  174. ]
  175. [ run earwicker.cpp
  176. :
  177. :
  178. :
  179. <define>BOOST_PARAMETER_MAX_ARITY=4
  180. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  181. :
  182. :
  183. <preserve-target-tests>off
  184. ]
  185. [ run macros.cpp
  186. :
  187. :
  188. :
  189. <define>BOOST_PARAMETER_MAX_ARITY=4
  190. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  191. :
  192. :
  193. <preserve-target-tests>off
  194. ]
  195. [ compile unwrap_cv_reference.cpp ]
  196. [ compile ntp.cpp
  197. :
  198. <define>BOOST_PARAMETER_MAX_ARITY=4
  199. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  200. ]
  201. [ compile function_type_tpl_param.cpp ]
  202. [ compile-fail duplicates.cpp
  203. :
  204. <define>BOOST_PARAMETER_MAX_ARITY=4
  205. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  206. :
  207. duplicates_fail
  208. ]
  209. [ compile-fail deduced_unmatched_arg.cpp
  210. :
  211. <define>BOOST_PARAMETER_MAX_ARITY=4
  212. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  213. :
  214. deduced_unmatched_arg_fail
  215. ]
  216. [ compile-fail basics.cpp
  217. :
  218. <define>BOOST_PARAMETER_MAX_ARITY=4
  219. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  220. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE
  221. :
  222. basics_fail
  223. ]
  224. [ compile-fail compose.cpp
  225. :
  226. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=3
  227. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_0
  228. :
  229. compose_fail_0
  230. ]
  231. [ compile-fail compose.cpp
  232. :
  233. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=3
  234. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_1
  235. :
  236. compose_fail_1
  237. ]
  238. [ compile-fail evaluate_category.cpp
  239. :
  240. <define>BOOST_PARAMETER_MAX_ARITY=4
  241. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  242. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE
  243. :
  244. evaluate_category_fail
  245. ]
  246. [ compile-fail preprocessor_deduced.cpp
  247. :
  248. <define>BOOST_PARAMETER_MAX_ARITY=4
  249. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  250. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE
  251. :
  252. preprocessor_deduced_fail
  253. ]
  254. [ compile-fail deduced.cpp
  255. :
  256. <define>BOOST_PARAMETER_MAX_ARITY=4
  257. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  258. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE
  259. :
  260. deduced_fail
  261. ]
  262. ;
  263. alias parameter_literate_tests
  264. :
  265. [ run literate/building-argumentpacks0.cpp
  266. :
  267. :
  268. :
  269. <define>BOOST_PARAMETER_MAX_ARITY=2
  270. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  271. :
  272. :
  273. <preserve-target-tests>off
  274. ]
  275. [ run literate/deduced-parameters0.cpp
  276. :
  277. :
  278. :
  279. <define>BOOST_PARAMETER_MAX_ARITY=5
  280. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=6
  281. :
  282. :
  283. <preserve-target-tests>off
  284. ]
  285. [ run literate/deduced-template-parameters0.cpp
  286. :
  287. :
  288. :
  289. <define>BOOST_PARAMETER_MAX_ARITY=4
  290. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  291. :
  292. :
  293. <preserve-target-tests>off
  294. ]
  295. [ run literate/default-expression-evaluation0.cpp
  296. :
  297. :
  298. :
  299. <define>BOOST_PARAMETER_MAX_ARITY=5
  300. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=6
  301. :
  302. :
  303. <preserve-target-tests>off
  304. ]
  305. [ run literate/extracting-parameter-types0.cpp
  306. :
  307. :
  308. :
  309. :
  310. :
  311. <preserve-target-tests>off
  312. ]
  313. [ run literate/extracting-parameter-types1.cpp
  314. :
  315. :
  316. :
  317. :
  318. :
  319. <preserve-target-tests>off
  320. ]
  321. [ run literate/fine-grained-name-control0.cpp
  322. :
  323. :
  324. :
  325. <define>BOOST_PARAMETER_MAX_ARITY=2
  326. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  327. :
  328. :
  329. <preserve-target-tests>off
  330. ]
  331. [ run literate/lazy-default-computation0.cpp
  332. :
  333. :
  334. :
  335. :
  336. :
  337. <preserve-target-tests>off
  338. ]
  339. [ run literate/lazy-default-computation1.cpp
  340. :
  341. :
  342. :
  343. :
  344. :
  345. <preserve-target-tests>off
  346. ]
  347. [ run literate/namespaces0.cpp
  348. :
  349. :
  350. :
  351. <define>BOOST_PARAMETER_MAX_ARITY=2
  352. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  353. :
  354. :
  355. <preserve-target-tests>off
  356. ]
  357. [ run literate/namespaces1.cpp
  358. :
  359. :
  360. :
  361. <define>BOOST_PARAMETER_MAX_ARITY=2
  362. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  363. :
  364. :
  365. <preserve-target-tests>off
  366. ]
  367. [ run literate/namespaces2.cpp
  368. :
  369. :
  370. :
  371. <define>BOOST_PARAMETER_MAX_ARITY=2
  372. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  373. :
  374. :
  375. <preserve-target-tests>off
  376. ]
  377. [ run literate/namespaces3.cpp
  378. :
  379. :
  380. :
  381. <define>BOOST_PARAMETER_MAX_ARITY=2
  382. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  383. :
  384. :
  385. <preserve-target-tests>off
  386. ]
  387. [ run literate/parameter-enabled-constructors0.cpp
  388. :
  389. :
  390. :
  391. <define>BOOST_PARAMETER_MAX_ARITY=2
  392. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  393. :
  394. :
  395. <preserve-target-tests>off
  396. ]
  397. [ run literate/parameter-enabled-function-call-operators0.cpp
  398. :
  399. :
  400. :
  401. <define>BOOST_PARAMETER_MAX_ARITY=2
  402. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  403. :
  404. :
  405. <preserve-target-tests>off
  406. ]
  407. [ run literate/parameter-enabled-member-functions0.cpp
  408. :
  409. :
  410. :
  411. <define>BOOST_PARAMETER_MAX_ARITY=2
  412. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  413. :
  414. :
  415. <preserve-target-tests>off
  416. ]
  417. [ run literate/predicate-requirements0.cpp
  418. :
  419. :
  420. :
  421. <define>BOOST_PARAMETER_MAX_ARITY=5
  422. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=6
  423. :
  424. :
  425. <preserve-target-tests>off
  426. ]
  427. [ run literate/static-member-functions0.cpp
  428. :
  429. :
  430. :
  431. <define>BOOST_PARAMETER_MAX_ARITY=2
  432. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  433. :
  434. :
  435. <preserve-target-tests>off
  436. ]
  437. [ run literate/top-level0.cpp
  438. :
  439. :
  440. :
  441. <define>BOOST_PARAMETER_MAX_ARITY=3
  442. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=4
  443. :
  444. :
  445. <preserve-target-tests>off
  446. ]
  447. [ compile literate/class-template-skeleton0.cpp
  448. :
  449. <define>BOOST_PARAMETER_MAX_ARITY=4
  450. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  451. ]
  452. [ compile literate/defining-the-keywords0.cpp ]
  453. [ compile literate/defining-the-keywords1.cpp ]
  454. [ compile literate/exercising-the-code-so-far0.cpp
  455. :
  456. <define>BOOST_PARAMETER_MAX_ARITY=4
  457. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  458. ]
  459. [ compile literate/handling-out-parameters0.cpp
  460. :
  461. <define>BOOST_PARAMETER_MAX_ARITY=5
  462. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=6
  463. ]
  464. [ compile literate/headers-and-namespaces0.cpp ]
  465. [ compile literate/optional-parameters0.cpp
  466. :
  467. <define>BOOST_PARAMETER_MAX_ARITY=5
  468. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=6
  469. ]
  470. [ compile literate/parameter-enabled-member-functions1.cpp
  471. :
  472. <define>BOOST_PARAMETER_MAX_ARITY=2
  473. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  474. ]
  475. [ compile literate/required-parameters0.cpp
  476. :
  477. <define>BOOST_PARAMETER_MAX_ARITY=2
  478. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=3
  479. ]
  480. [ compile literate/template-keywords0.cpp ]
  481. [ compile literate/template-keywords1.cpp ]
  482. [ compile literate/writing-the-function0.cpp
  483. :
  484. <define>BOOST_PARAMETER_MAX_ARITY=5
  485. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=6
  486. ]
  487. ;
  488. alias parameter_python_test
  489. :
  490. :
  491. # Python fails for clang on linux with cxxstd set to 14
  492. <target-os>linux
  493. <toolset>clang
  494. <cxxstd>14
  495. ;
  496. alias parameter_python_test
  497. :
  498. :
  499. # Python fails for clang on linux with cxxstd set to 1z
  500. <target-os>linux
  501. <toolset>clang
  502. <cxxstd>1z
  503. ;
  504. alias parameter_python_test
  505. :
  506. :
  507. # Python fails for xcode 8.3.0 on osx
  508. # so we turn off this test for this compiler completely for now
  509. <target-os>darwin
  510. # TODO: Differentiate by xcode version or by clang version
  511. ;
  512. alias parameter_python_test
  513. :
  514. :
  515. # Python fails for mingw compilers with cxxstd set to 11 or higher
  516. # because of a Python header problem
  517. # so we turn off this test for this compiler completely
  518. <target-os>windows
  519. <toolset>gcc
  520. <address-model>32
  521. ;
  522. alias parameter_python_test
  523. :
  524. :
  525. # Python fails for clang-linux compilers with cxxstd set to 11 or higher
  526. # because of a Python header problem
  527. # so we turn off this test for this compiler completely
  528. <target-os>windows
  529. <toolset>clang-linux
  530. <address-model>32
  531. ;
  532. alias parameter_python_test
  533. :
  534. :
  535. # Python fails for windows compilers with 64-bit addressing set
  536. # because of a Python header problem
  537. <target-os>windows
  538. <address-model>64
  539. ;
  540. alias parameter_python_test
  541. :
  542. [ bpl-test python_test ]
  543. ;
  544. alias parameter_macros_eval_category
  545. :
  546. :
  547. <target-os>linux
  548. <toolset>gcc
  549. <toolset-gcc:version>4.8
  550. ;
  551. alias parameter_macros_eval_category
  552. :
  553. :
  554. # This test fails for xcode 7.3.0 on osx
  555. # so we turn off this test for this compiler for now
  556. <target-os>darwin
  557. <cxxstd>03
  558. # TODO: Differentiate by xcode version or by clang version
  559. ;
  560. alias parameter_macros_eval_category
  561. :
  562. :
  563. <target-os>windows
  564. <toolset>gcc
  565. ;
  566. alias parameter_macros_eval_category
  567. :
  568. [ run macros_eval_category.cpp
  569. :
  570. :
  571. :
  572. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=10
  573. <define>BOOST_PARAMETER_MAX_ARITY=10
  574. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  575. :
  576. macros_eval_category_cxx98
  577. :
  578. <preserve-target-tests>off
  579. ]
  580. :
  581. <cxxstd>98
  582. ;
  583. alias parameter_macros_eval_category
  584. :
  585. [ run macros_eval_category.cpp
  586. :
  587. :
  588. :
  589. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=10
  590. <define>BOOST_PARAMETER_MAX_ARITY=10
  591. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  592. :
  593. macros_eval_category_cxx03
  594. :
  595. <preserve-target-tests>off
  596. ]
  597. :
  598. <cxxstd>03
  599. ;
  600. alias parameter_macros_eval_category
  601. :
  602. [ run macros_eval_category.cpp
  603. :
  604. :
  605. :
  606. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=10
  607. <define>BOOST_PARAMETER_MAX_ARITY=10
  608. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=11
  609. :
  610. :
  611. <preserve-target-tests>off
  612. ]
  613. ;
  614. alias parameter_evaluate_category_10
  615. :
  616. [ run evaluate_category_10.cpp
  617. :
  618. :
  619. :
  620. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  621. :
  622. evaluate_category_10_gcc_4_8_linux
  623. :
  624. <preserve-target-tests>off
  625. ]
  626. :
  627. <target-os>linux
  628. <toolset>gcc
  629. <toolset-gcc:version>4.8
  630. ;
  631. alias parameter_evaluate_category_10
  632. :
  633. [ run evaluate_category_10.cpp
  634. :
  635. :
  636. :
  637. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  638. :
  639. evaluate_category_10_mingw
  640. :
  641. <preserve-target-tests>off
  642. ]
  643. :
  644. <target-os>windows
  645. <toolset>gcc
  646. ;
  647. alias parameter_evaluate_category_10
  648. :
  649. [ run evaluate_category_10.cpp
  650. :
  651. :
  652. :
  653. :
  654. evaluate_category_10_cxx98
  655. :
  656. <preserve-target-tests>off
  657. ]
  658. :
  659. <cxxstd>98
  660. ;
  661. alias parameter_evaluate_category_10
  662. :
  663. [ run evaluate_category_10.cpp
  664. :
  665. :
  666. :
  667. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  668. :
  669. evaluate_category_10_cxx03
  670. :
  671. <preserve-target-tests>off
  672. ]
  673. :
  674. <cxxstd>03
  675. ;
  676. alias parameter_evaluate_category_10
  677. :
  678. [ run evaluate_category_10.cpp
  679. :
  680. :
  681. :
  682. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=10
  683. <define>BOOST_PARAMETER_MAX_ARITY=10
  684. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=11
  685. :
  686. :
  687. <preserve-target-tests>off
  688. ]
  689. ;
  690. alias parameter_preprocessor_eval_cat_8
  691. :
  692. [ run preprocessor_eval_cat_8.cpp
  693. :
  694. :
  695. :
  696. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=8
  697. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0
  698. :
  699. preproc_eval_cat_8_mingw
  700. :
  701. <preserve-target-tests>off
  702. ]
  703. :
  704. <target-os>windows
  705. <toolset>gcc
  706. ;
  707. alias parameter_preprocessor_eval_cat_8
  708. :
  709. [ run preprocessor_eval_cat_8.cpp
  710. :
  711. :
  712. :
  713. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=8
  714. <define>BOOST_PARAMETER_MAX_ARITY=8
  715. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=9
  716. :
  717. :
  718. <preserve-target-tests>off
  719. ]
  720. ;
  721. alias parameter_preprocessor_eval_cat_fail
  722. :
  723. :
  724. # This test fails for xcode 7.3.0 and xcode 8.3.0 on osx
  725. # so we turn off this test for this compiler for now
  726. <target-os>darwin
  727. <cxxstd>03
  728. # TODO: Differentiate by xcode version or by clang version
  729. ;
  730. alias parameter_preprocessor_eval_cat_fail
  731. :
  732. :
  733. <target-os>windows
  734. <toolset>gcc
  735. ;
  736. alias parameter_preprocessor_eval_cat_fail
  737. :
  738. [ compile-fail preprocessor_eval_category.cpp
  739. :
  740. <define>BOOST_PARAMETER_MAX_ARITY=8
  741. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=9
  742. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE
  743. :
  744. preproc_eval_cat_fail
  745. ]
  746. ;
  747. alias parameter_vendor_specific_fail_tests ;
  748. alias parameter_vendor_specific_fail_tests
  749. :
  750. [ compile-fail preprocessor_deduced.cpp
  751. :
  752. <define>BOOST_PARAMETER_MAX_ARITY=4
  753. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  754. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  755. :
  756. preproc_deduced_fail_msvc08
  757. ]
  758. :
  759. <toolset>msvc
  760. <toolset-msvc:version>8.0
  761. ;
  762. alias parameter_vendor_specific_fail_tests
  763. :
  764. [ compile-fail preprocessor_deduced.cpp
  765. :
  766. <define>BOOST_PARAMETER_MAX_ARITY=4
  767. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  768. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  769. :
  770. preproc_deduced_fail_msvc09
  771. ]
  772. :
  773. <toolset>msvc
  774. <toolset-msvc:version>9.0
  775. ;
  776. alias parameter_vendor_specific_fail_tests
  777. :
  778. [ compile-fail preprocessor_deduced.cpp
  779. :
  780. <define>BOOST_PARAMETER_MAX_ARITY=4
  781. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  782. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  783. :
  784. preproc_deduced_fail_msvc10
  785. ]
  786. :
  787. <toolset>msvc
  788. <toolset-msvc:version>10.0
  789. ;
  790. alias parameter_vendor_specific_fail_tests
  791. :
  792. [ compile-fail compose.cpp
  793. :
  794. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=3
  795. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  796. :
  797. compose_fail_msvc11
  798. ]
  799. [ compile-fail preprocessor_deduced.cpp
  800. :
  801. <define>BOOST_PARAMETER_MAX_ARITY=4
  802. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  803. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  804. :
  805. preproc_deduced_fail_msvc11
  806. ]
  807. :
  808. <toolset>msvc
  809. <toolset-msvc:version>11.0
  810. ;
  811. alias parameter_vendor_specific_fail_tests
  812. :
  813. [ compile-fail evaluate_category.cpp
  814. :
  815. <define>BOOST_PARAMETER_MAX_ARITY=4
  816. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  817. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  818. :
  819. evaluate_category_fail_msvc12
  820. ]
  821. [ compile-fail preprocessor_eval_category.cpp
  822. :
  823. <define>BOOST_PARAMETER_MAX_ARITY=8
  824. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=9
  825. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  826. :
  827. preproc_eval_cat_fail_msvc12
  828. ]
  829. [ compile-fail preprocessor_eval_cat_no_spec.cpp
  830. :
  831. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=8
  832. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  833. :
  834. preproc_eval_cat_no_spec_fail_msvc12
  835. ]
  836. :
  837. <toolset>msvc
  838. <toolset-msvc:version>12.0
  839. ;
  840. alias parameter_vendor_specific_fail_tests
  841. :
  842. [ compile-fail evaluate_category.cpp
  843. :
  844. <define>BOOST_PARAMETER_MAX_ARITY=4
  845. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  846. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  847. :
  848. evaluate_category_fail_msvc14_0
  849. ]
  850. [ compile-fail preprocessor_eval_category.cpp
  851. :
  852. <define>BOOST_PARAMETER_MAX_ARITY=8
  853. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=9
  854. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  855. :
  856. preproc_eval_cat_fail_msvc14_0
  857. ]
  858. [ compile-fail preprocessor_eval_cat_no_spec.cpp
  859. :
  860. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=8
  861. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  862. :
  863. preproc_eval_cat_no_spec_fail_msvc14_0
  864. ]
  865. :
  866. <toolset>msvc
  867. <toolset-msvc:version>14.0
  868. ;
  869. alias parameter_vendor_specific_fail_tests
  870. :
  871. [ compile-fail evaluate_category.cpp
  872. :
  873. <define>BOOST_PARAMETER_MAX_ARITY=4
  874. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=5
  875. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  876. :
  877. evaluate_category_fail_msvc14_1
  878. ]
  879. [ compile-fail preprocessor_eval_category.cpp
  880. :
  881. <define>BOOST_PARAMETER_MAX_ARITY=8
  882. <define>BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=9
  883. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  884. :
  885. preproc_eval_cat_fail_msvc14_1
  886. ]
  887. [ compile-fail preprocessor_eval_cat_no_spec.cpp
  888. :
  889. <define>BOOST_PARAMETER_COMPOSE_MAX_ARITY=8
  890. <define>LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC
  891. :
  892. preproc_eval_cat_no_spec_fail_msvc14_1
  893. ]
  894. :
  895. <toolset>msvc
  896. <toolset-msvc:version>14.1
  897. ;
  898. # TODO: Replace with "undeprecated" version.
  899. test-suite "parameter"
  900. :
  901. parameter_macros_eval_category
  902. parameter_evaluate_category_10
  903. parameter_preprocessor_eval_cat_8
  904. parameter_preprocessor_eval_cat_fail
  905. parameter_standard_tests
  906. parameter_literate_tests
  907. parameter_python_test
  908. parameter_vendor_specific_fail_tests
  909. ;