Просмотр исходного кода

Add Test Library regression tests

[SVN r9369]
Beman Dawes 25 лет назад
Родитель
Сommit
82bcbd89b6
3 измененных файлов с 13 добавлено и 11 удалено
  1. 1 1
      libs/test
  2. 10 10
      status/compiler.cfg
  3. 2 0
      status/regression.cfg

+ 1 - 1
libs/test

@@ -1 +1 @@
-Subproject commit 27b9129803f5986a81c27ad591af3300f9a153b9
+Subproject commit a41aeac197422583bdd2cf49b776841b9fa5ddd2

+ 10 - 10
status/compiler.cfg

@@ -137,36 +137,36 @@ GNUPro<br>GCC&nbsp;2.9<br>+<br>SGI&nbsp;STL&nbsp;3.3
 win32
 bcc
 Borland C++ 5.5.1
-bcc32 -c -I%include -j10 -q -DBOOST_INCLUDE_MAIN %source
-bcc32 -eboosttmp.exe -I%include -j10 -DBOOST_INCLUDE_MAIN -q %source
+bcc32 -c -I%include -j10 -q %source
+bcc32 -eboosttmp.exe -I%include -j10 -q %source
 Borland<br>BCC<br>5.5.1
 
 win32
 cw
 Metrowerks CodeWarrior
-mwcc -c -nocodegen -maxerrors 10 -cwd source -I- -I%include -DBOOST_INCLUDE_MAIN %source
-mwcc -o boosttmp.exe -maxerrors 10 -cwd source -I- -I%include -DBOOST_INCLUDE_MAIN %source
+mwcc -c -nocodegen -maxerrors 10 -cwd source -I- -I%include %source
+mwcc -o boosttmp.exe -maxerrors 10 -cwd source -I- -I%include %source
 Metrowerks<br>CodeWarrior<br>6.0
 
 win32
 vc
 Microsoft Visual C++
-cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" -DBOOST_INCLUDE_MAIN %source
-cl /Feboosttmp.exe /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" -DBOOST_INCLUDE_MAIN %source /link /incremental:no user32.lib
+cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source
+cl /Feboosttmp.exe /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source /link /incremental:no user32.lib
 Microsoft<br>VC++<br>6.0 SP4
 
 win32
 vc-stlport
 Microsoft Visual C++ with STLport
-cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" -DBOOST_INCLUDE_MAIN %source
-cl /Feboosttmp.exe /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" -DBOOST_INCLUDE_MAIN %source /link /incremental:no /libpath:$BOOST_STLPORT_PATH\lib user32.lib
+cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source
+cl /Feboosttmp.exe /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source /link /incremental:no /libpath:$BOOST_STLPORT_PATH\lib user32.lib
 Microsoft<br>VC++<br>6.0 SP4<br>STLport<br>4.0
 
 win32
 cygwin
 GCC under cygwin
-g++ -c -ftemplate-depth-30 -I%include -DBOOST_INCLUDE_MAIN %source
-g++ -o boosttmp.exe -ftemplate-depth-30 -I%include -DBOOST_INCLUDE_MAIN %source
+g++ -c -ftemplate-depth-30 -I%include %source
+g++ -o boosttmp.exe -ftemplate-depth-30 -I%include %source
 GNU GCC<br>2.95.2-6<br>Cygwin 1.1.7
 
 //win32

+ 2 - 0
status/regression.cfg

@@ -38,6 +38,8 @@ compile-fail libs/static_assert/static_assert_test_fail_5.cpp
 compile-fail libs/static_assert/static_assert_test_fail_6.cpp
 compile-fail libs/static_assert/static_assert_test_fail_7.cpp
 link-fail libs/static_assert/static_assert_test_fail_8.cpp
+run libs/test/example/test_tools_example.cpp
+run-fail libs/test/test/test_tools_fail2.cpp
 compile libs/timer/timer_test.cpp
 run libs/type_traits/tests/alignment_test.cpp
 run libs/type_traits/tests/arithmetic_traits_test.cpp

粤ICP备19079148号