[12] | 1 | # copyright John Maddock 2003 |
---|
| 2 | |
---|
| 3 | project |
---|
| 4 | : requirements <threading>multi <link>shared:<define>BOOST_REGEX_DYN_LINK=1 |
---|
| 5 | ; |
---|
| 6 | |
---|
| 7 | # |
---|
| 8 | # rule for simple regex test programs: |
---|
| 9 | # |
---|
| 10 | rule 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 | |
---|
| 19 | R_SOURCE = |
---|
| 20 | basic_tests.cpp |
---|
| 21 | main.cpp |
---|
| 22 | test_alt.cpp |
---|
| 23 | test_anchors.cpp |
---|
| 24 | test_asserts.cpp |
---|
| 25 | test_backrefs.cpp |
---|
| 26 | test_deprecated.cpp |
---|
| 27 | test_emacs.cpp |
---|
| 28 | test_escapes.cpp |
---|
| 29 | test_grep.cpp |
---|
| 30 | test_locale.cpp |
---|
| 31 | test_mfc.cpp |
---|
| 32 | test_non_greedy_repeats.cpp |
---|
| 33 | test_perl_ex.cpp |
---|
| 34 | test_replace.cpp |
---|
| 35 | test_sets.cpp |
---|
| 36 | test_simple_repeats.cpp |
---|
| 37 | test_tricky_cases.cpp |
---|
| 38 | test_icu.cpp |
---|
| 39 | test_unicode.cpp |
---|
| 40 | test_overloads.cpp |
---|
| 41 | test_operators.cpp |
---|
| 42 | ; |
---|
| 43 | |
---|
| 44 | local regress-sources = regress/$(R_SOURCE) ; |
---|
| 45 | |
---|
| 46 | test-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 | |
---|