regex: regression test fixes

[SVN r8679]
This commit is contained in:
John Maddock 2001-01-21 12:58:24 +00:00
parent ca0bbb1db7
commit 223ea1ade7
4 changed files with 95 additions and 77 deletions

@ -1 +1 @@
Subproject commit 328e0b5561f10d2e3d540954682a752be9181638
Subproject commit ec8aac99c5aad2f2184b07de8f6d652cc95428eb

View file

@ -7,8 +7,9 @@ Compiler Status: beos
<body bgcolor="#ffffff" text="#000000">
<h1><img border border="0" src="../c++boost.gif" width="277" height="86"></h1>
<h1>Compiler Status: beos</h1>
</p>
<p><b>Run Date:</b> 02 Jan 2001 13:10 GMT</p>
<p><b>Run Date:</b> 21 Jan 2001 12:29 GMT</p>
<p><b>System Configuration:</b> BeOS 5 Intel Edition</p>
<p>
<table border="1" cellspacing="0" cellpadding="5">
<tr>
@ -18,207 +19,223 @@ Compiler Status: beos
<td>GNUPro GCC 2.9<br>+<br>SGI STL 3.30</td>
</tr>
<tr>
<td><a href="libs/config/config_test.cpp">libs/config/config_test.cpp</a></td>
<td><a href="../libs/config/config_test.cpp">libs/config/config_test.cpp</a></td>
<td>compile</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/array/array1.cpp">libs/array/array1.cpp</a></td>
<td><a href="../libs/array/array1.cpp">libs/array/array1.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/concept_check/concept_check_test.cpp">libs/concept_check/concept_check_test.cpp</a></td>
<td><a href="../libs/concept_check/concept_check_test.cpp">libs/concept_check/concept_check_test.cpp</a></td>
<td>compile</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/concept_check/class_concept_check_test.cpp">libs/concept_check/class_concept_check_test.cpp</a></td>
<td><a href="../libs/concept_check/class_concept_check_test.cpp">libs/concept_check/class_concept_check_test.cpp</a></td>
<td>compile</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/concept_check/concept_check_fail_expected.cpp">libs/concept_check/concept_check_fail_expected.cpp</a></td>
<td><a href="../libs/concept_check/concept_check_fail_expected.cpp">libs/concept_check/concept_check_fail_expected.cpp</a></td>
<td>link-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/concept_check/class_concept_fail_expected.cpp">libs/concept_check/class_concept_fail_expected.cpp</a></td>
<td><a href="../libs/concept_check/class_concept_fail_expected.cpp">libs/concept_check/class_concept_fail_expected.cpp</a></td>
<td>link-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/functional/function_test.cpp">libs/functional/function_test.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/graph/test/graph.cpp">libs/graph/test/graph.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/integer/cstdint_test.cpp">libs/integer/cstdint_test.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/integer/integer_test.cpp">libs/integer/integer_test.cpp</a></td>
<td><a href="../libs/conversion/cast_test.cpp">libs/conversion/cast_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/integer/integer_traits_test.cpp">libs/integer/integer_traits_test.cpp</a></td>
<td><a href="../libs/conversion/lexical_cast_test.cpp">libs/conversion/lexical_cast_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/rational/rational_example.cpp">libs/rational/rational_example.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/random/random_test.cpp">libs/random/random_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/random/random_demo.cpp">libs/random/random_demo.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/regex/demo/regress/regex_test.cpp">libs/regex/demo/regress/regex_test.cpp</a></td>
<td><a href="../libs/functional/function_test.cpp">libs/functional/function_test.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/regex/demo/regress/wregex_test.cpp">libs/regex/demo/regress/wregex_test.cpp</a></td>
<td><a href="../libs/graph/test/graph.cpp">libs/graph/test/graph.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/smart_ptr/smart_ptr_test.cpp">libs/smart_ptr/smart_ptr_test.cpp</a></td>
<td><a href="../libs/integer/cstdint_test.cpp">libs/integer/cstdint_test.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test.cpp">libs/static_assert/static_assert_test.cpp</a></td>
<td><a href="../libs/integer/integer_test.cpp">libs/integer/integer_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td>Pass</td>
</tr>
<tr>
<td><a href="../libs/integer/integer_traits_test.cpp">libs/integer/integer_traits_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="../libs/rational/rational_example.cpp">libs/rational/rational_example.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="../libs/random/random_test.cpp">libs/random/random_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="../libs/random/random_demo.cpp">libs/random/random_demo.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="../libs/regex/demo/regress/regex_test.cpp">libs/regex/demo/regress/regex_test.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="../libs/regex/demo/regress/wregex_test.cpp">libs/regex/demo/regress/wregex_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="../libs/smart_ptr/smart_ptr_test.cpp">libs/smart_ptr/smart_ptr_test.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="../libs/static_assert/static_assert_test.cpp">libs/static_assert/static_assert_test.cpp</a></td>
<td>compile</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_1.cpp">libs/static_assert/static_assert_test_fail_1.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_1.cpp">libs/static_assert/static_assert_test_fail_1.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_2.cpp">libs/static_assert/static_assert_test_fail_2.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_2.cpp">libs/static_assert/static_assert_test_fail_2.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_3.cpp">libs/static_assert/static_assert_test_fail_3.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_3.cpp">libs/static_assert/static_assert_test_fail_3.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_4.cpp">libs/static_assert/static_assert_test_fail_4.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_4.cpp">libs/static_assert/static_assert_test_fail_4.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_5.cpp">libs/static_assert/static_assert_test_fail_5.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_5.cpp">libs/static_assert/static_assert_test_fail_5.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_6.cpp">libs/static_assert/static_assert_test_fail_6.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_6.cpp">libs/static_assert/static_assert_test_fail_6.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_7.cpp">libs/static_assert/static_assert_test_fail_7.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_7.cpp">libs/static_assert/static_assert_test_fail_7.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/static_assert/static_assert_test_fail_8.cpp">libs/static_assert/static_assert_test_fail_8.cpp</a></td>
<td><a href="../libs/static_assert/static_assert_test_fail_8.cpp">libs/static_assert/static_assert_test_fail_8.cpp</a></td>
<td>compile-fail</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/utility/call_traits_test.cpp">libs/utility/call_traits_test.cpp</a></td>
<td><a href="../libs/timer/timer_test.cpp">libs/timer/timer_test.cpp</a></td>
<td>compile</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="../libs/utility/call_traits_test.cpp">libs/utility/call_traits_test.cpp</a></td>
<td>compile</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/utility/cast_test.cpp">libs/utility/cast_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/utility/compressed_pair_test.cpp">libs/utility/compressed_pair_test.cpp</a></td>
<td><a href="../libs/utility/compressed_pair_test.cpp">libs/utility/compressed_pair_test.cpp</a></td>
<td>compile</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/utility/iterator_adaptor_test.cpp">libs/utility/iterator_adaptor_test.cpp</a></td>
<td><a href="../libs/utility/iterator_adaptor_test.cpp">libs/utility/iterator_adaptor_test.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/utility/iterators_test.cpp">libs/utility/iterators_test.cpp</a></td>
<td><a href="../libs/utility/iterators_test.cpp">libs/utility/iterators_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/utility/operators_test.cpp">libs/utility/operators_test.cpp</a></td>
<td><a href="../libs/utility/operators_test.cpp">libs/utility/operators_test.cpp</a></td>
<td>run</td>
<td><font color="#FF0000">Fail</font></td>
<td><font color="#FF0000">Fail</font></td>
</tr>
<tr>
<td><a href="libs/utility/tie_example.cpp">libs/utility/tie_example.cpp</a></td>
<td><a href="../libs/utility/tie_example.cpp">libs/utility/tie_example.cpp</a></td>
<td>run</td>
<td>Pass</td>
<td>Pass</td>
</tr>
<tr>
<td><a href="libs/utility/type_traits_test.cpp">libs/utility/type_traits_test.cpp</a></td>
<td><a href="../libs/utility/type_traits_test.cpp">libs/utility/type_traits_test.cpp</a></td>
<td>compile</td>
<td>Pass</td>
<td>Pass</td>
</tr>
</table>
</table></p>
<p>
</p>
</body>
</html>

View file

@ -20,8 +20,8 @@ run libs/integer/integer_traits_test.cpp
run libs/rational/rational_example.cpp
run libs/random/random_test.cpp
run libs/random/random_demo.cpp
run libs/regex/demo/regress/regex_test.cpp regex/demo/regress/tests.txt
run libs/regex/demo/regress/wregex_test.cpp regex/demo/regress/tests.txt
run libs/regex/demo/regress/regex_test.cpp %boost/libs/regex/demo/regress/tests.txt
run libs/regex/demo/regress/wregex_test.cpp %boost/libs/regex/demo/regress/tests.txt
run libs/smart_ptr/smart_ptr_test.cpp
compile libs/static_assert/static_assert_test.cpp
compile-fail libs/static_assert/static_assert_test_fail_1.cpp

View file

@ -78,7 +78,7 @@ std::string get_system_configuration()
std::string get_system_configuration()
{
return "BeOS";
return "BeOS 5 Intel Edition";
}
#else
@ -240,13 +240,14 @@ test_result link(std::string command, const std::string & boostpath,
}
test_result run(std::string command, const std::string & boostpath,
const std::string & file, const std::string & args)
const std::string & file, std::string args)
{
std::string exename = "boosttmp.exe";
replace(command, "%source", boostpath + "/" + file);
if(execute(command)) {
if(get_host() != "win32")
exename = "./" + exename;
replace(args, "%boost", boostpath);
return execute(exename + " " + args) ? run_ok : run_failed;
} else {
return link_failed;