Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/regex/test/Jamfile.v2 @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 2.2 KB
Line 
1# copyright John Maddock 2003
2
3project
4    : requirements <threading>multi <link>shared:<define>BOOST_REGEX_DYN_LINK=1
5    ;
6
7#
8# rule for simple regex test programs:
9#
10rule regex-test ( name : sources + : requirements * : input-files * )
11{
12    return [ run $(sources) ../build//boost_regex
13               :
14               : $(input-files)
15               : $(requirements)
16               : $(name) ] ;
17}
18
19R_SOURCE =
20basic_tests.cpp
21main.cpp
22test_alt.cpp
23test_anchors.cpp
24test_asserts.cpp
25test_backrefs.cpp
26test_deprecated.cpp
27test_emacs.cpp
28test_escapes.cpp
29test_grep.cpp
30test_locale.cpp
31test_mfc.cpp
32test_non_greedy_repeats.cpp
33test_perl_ex.cpp
34test_replace.cpp
35test_sets.cpp
36test_simple_repeats.cpp
37test_tricky_cases.cpp
38test_icu.cpp
39test_unicode.cpp
40test_overloads.cpp
41test_operators.cpp
42;
43
44local regress-sources = regress/$(R_SOURCE) ;
45
46test-suite regex
47      :
48      [ run regress/$(R_SOURCE) ../build//boost_regex ]
49      #[ run c_compiler_checks/posix_api_check.c ../build//boost_regex ]
50      #[ compile c_compiler_checks/wide_posix_api_check.c  ]
51      [ run c_compiler_checks/posix_api_check.cpp ../build//boost_regex ]
52      [ run c_compiler_checks/wide_posix_api_check.cpp ../build//boost_regex ]
53
54      [ run pathology/bad_expression_test.cpp
55            ../build//boost_regex
56      ]
57
58      [ run pathology/recursion_test.cpp
59            ../build//boost_regex
60      ]
61     
62      [ run unicode/unicode_iterator_test.cpp ../build//boost_regex ]
63      [ run static_mutex/static_mutex_test.cpp
64            ../../thread/build//boost_thread ../build//boost_regex
65      ]
66      [ run object_cache/object_cache_test.cpp ../build//boost_regex
67      ]
68     
69      [ run config_info/regex_config_info.cpp ../build//boost_regex ]
70      [ run collate_info/collate_info.cpp ../build//boost_regex ]
71
72      [ compile concepts/concept_check.cpp ../build//boost_regex
73      ]
74      [ compile concepts/icu_concept_check.cpp ../build//boost_regex
75      ]
76     
77     [ run
78    # sources
79    captures/captures_test.cpp
80    captures//boost_regex_extra
81 :  # additional args
82 :  # test-files
83 :  # requirements
84    <threading>multi
85    <define>BOOST_REGEX_MATCH_EXTRA=1
86    <define>BOOST_REGEX_NO_LIB=1
87 :  # test name
88    captures_test
89 ]
90;
91     
Note: See TracBrowser for help on using the repository browser.