| 1 | # copyright John Maddock 2003 |
|---|
| 2 | # Distributed under the Boost Software License, Version 1.0. |
|---|
| 3 | # (See accompanying file LICENSE_1_0.txt or copy at |
|---|
| 4 | # http://www.boost.org/LICENSE_1_0.txt. |
|---|
| 5 | |
|---|
| 6 | project |
|---|
| 7 | : requirements <threading>multi <link>shared:<define>BOOST_REGEX_DYN_LINK=1 |
|---|
| 8 | ; |
|---|
| 9 | |
|---|
| 10 | # |
|---|
| 11 | # rule for simple regex test programs: |
|---|
| 12 | # |
|---|
| 13 | rule regex-test ( name : sources + : requirements * : input-files * ) |
|---|
| 14 | { |
|---|
| 15 | return [ run $(sources) ../build//boost_regex |
|---|
| 16 | : |
|---|
| 17 | : $(input-files) |
|---|
| 18 | : $(requirements) |
|---|
| 19 | : $(name) ] ; |
|---|
| 20 | } |
|---|
| 21 | |
|---|
| 22 | R_SOURCE = |
|---|
| 23 | basic_tests.cpp |
|---|
| 24 | main.cpp |
|---|
| 25 | test_alt.cpp |
|---|
| 26 | test_anchors.cpp |
|---|
| 27 | test_asserts.cpp |
|---|
| 28 | test_backrefs.cpp |
|---|
| 29 | test_deprecated.cpp |
|---|
| 30 | test_emacs.cpp |
|---|
| 31 | test_escapes.cpp |
|---|
| 32 | test_grep.cpp |
|---|
| 33 | test_locale.cpp |
|---|
| 34 | test_mfc.cpp |
|---|
| 35 | test_non_greedy_repeats.cpp |
|---|
| 36 | test_perl_ex.cpp |
|---|
| 37 | test_replace.cpp |
|---|
| 38 | test_sets.cpp |
|---|
| 39 | test_simple_repeats.cpp |
|---|
| 40 | test_tricky_cases.cpp |
|---|
| 41 | test_icu.cpp |
|---|
| 42 | test_unicode.cpp |
|---|
| 43 | test_overloads.cpp |
|---|
| 44 | test_operators.cpp |
|---|
| 45 | ; |
|---|
| 46 | |
|---|
| 47 | local regress-sources = regress/$(R_SOURCE) ; |
|---|
| 48 | |
|---|
| 49 | test-suite regex |
|---|
| 50 | : |
|---|
| 51 | [ run regress/$(R_SOURCE) ../build//boost_regex |
|---|
| 52 | : # command line |
|---|
| 53 | : # input files |
|---|
| 54 | : # requirements |
|---|
| 55 | <link>static |
|---|
| 56 | : regex_regress ] |
|---|
| 57 | |
|---|
| 58 | [ run regress/$(R_SOURCE) ../build//boost_regex |
|---|
| 59 | : # command line |
|---|
| 60 | : # input files |
|---|
| 61 | : # requirements |
|---|
| 62 | : regex_regress_dll ] |
|---|
| 63 | |
|---|
| 64 | [ run regress/$(R_SOURCE) ../build//boost_regex |
|---|
| 65 | ../../thread/build//boost_thread |
|---|
| 66 | : # command line |
|---|
| 67 | : # input files |
|---|
| 68 | : # requirements |
|---|
| 69 | <define>TEST_THREADS |
|---|
| 70 | : regex_regress_threaded ] |
|---|
| 71 | |
|---|
| 72 | [ regex-test posix_api_check : c_compiler_checks/posix_api_check.c ] |
|---|
| 73 | |
|---|
| 74 | [ compile c_compiler_checks/wide_posix_api_check.c |
|---|
| 75 | : : wide_posix_api_check_c ] |
|---|
| 76 | |
|---|
| 77 | [ regex-test posix_api_check_cpp : c_compiler_checks/posix_api_check.cpp ] |
|---|
| 78 | |
|---|
| 79 | [ regex-test wide_posix_api_check_cpp |
|---|
| 80 | : c_compiler_checks/wide_posix_api_check.cpp ] |
|---|
| 81 | |
|---|
| 82 | [ run pathology/bad_expression_test.cpp |
|---|
| 83 | ../build//boost_regex |
|---|
| 84 | ] |
|---|
| 85 | |
|---|
| 86 | [ run pathology/recursion_test.cpp |
|---|
| 87 | ../build//boost_regex |
|---|
| 88 | ] |
|---|
| 89 | |
|---|
| 90 | [ run unicode/unicode_iterator_test.cpp ../build//boost_regex ] |
|---|
| 91 | [ run static_mutex/static_mutex_test.cpp |
|---|
| 92 | ../../thread/build//boost_thread ../build//boost_regex |
|---|
| 93 | ] |
|---|
| 94 | [ run object_cache/object_cache_test.cpp ../build//boost_regex |
|---|
| 95 | ] |
|---|
| 96 | |
|---|
| 97 | [ run config_info/regex_config_info.cpp |
|---|
| 98 | ../build//boost_regex/<link>static |
|---|
| 99 | : # command line |
|---|
| 100 | : # input files |
|---|
| 101 | : <test-info>always_show_run_output |
|---|
| 102 | ] |
|---|
| 103 | [ run config_info/regex_config_info.cpp ../build//boost_regex |
|---|
| 104 | : # command line |
|---|
| 105 | : # input files |
|---|
| 106 | : <test-info>always_show_run_output |
|---|
| 107 | : regex_dll_config_info |
|---|
| 108 | ] |
|---|
| 109 | |
|---|
| 110 | [ run collate_info/collate_info.cpp ../build//boost_regex |
|---|
| 111 | : : : <test-info>always_show_run_output : test_collate_info ] |
|---|
| 112 | |
|---|
| 113 | |
|---|
| 114 | [ compile concepts/concept_check.cpp ../build//boost_regex |
|---|
| 115 | ] |
|---|
| 116 | [ compile concepts/icu_concept_check.cpp ../build//boost_regex |
|---|
| 117 | ] |
|---|
| 118 | |
|---|
| 119 | [ run |
|---|
| 120 | # sources |
|---|
| 121 | captures/captures_test.cpp |
|---|
| 122 | captures//boost_regex_extra |
|---|
| 123 | : # additional args |
|---|
| 124 | : # test-files |
|---|
| 125 | : # requirements |
|---|
| 126 | <threading>multi |
|---|
| 127 | <define>BOOST_REGEX_MATCH_EXTRA=1 |
|---|
| 128 | <define>BOOST_REGEX_NO_LIB=1 |
|---|
| 129 | : # test name |
|---|
| 130 | captures_test |
|---|
| 131 | ] |
|---|
| 132 | ; |
|---|
| 133 | |
|---|
| 134 | |
|---|
| 135 | |
|---|
| 136 | |
|---|