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

Remove dependence on boost.test for PJL. It causes too many dependence problems on the testing platforms.

[SVN r40628]
Rene Rivera 18 лет назад
Родитель
Сommit
9027d657e2
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 0
      tools/regression/build/Jamroot.jam
  2. 1 4
      tools/regression/src/process_jam_log.cpp

+ 1 - 0
tools/regression/build/Jamroot.jam

@@ -31,6 +31,7 @@ exe process_jam_log
     /boost/filesystem//boost_filesystem/<link>static
     :
     <define>BOOST_ALL_NO_LIB=1
+    <define>_CRT_SECURE_NO_WARNINGS
     :
     release
     ;

+ 1 - 4
tools/regression/src/process_jam_log.cpp

@@ -24,9 +24,6 @@ using std::string;
 namespace xml = boost::tiny_xml;
 namespace fs = boost::filesystem;
 
-#define BOOST_NO_CPP_MAIN_SUCCESS_MESSAGE
-#include <boost/test/included/prg_exec_monitor.hpp>
-
 // options 
 
 static bool echo = false;
@@ -523,7 +520,7 @@ namespace
 //  main  --------------------------------------------------------------------//
 
 
-int cpp_main( int argc, char ** argv )
+int main( int argc, char ** argv )
 {
   // Turn off synchronization with corresponding C standard library files. This
   // gives a significant speed improvement on platforms where the standard C++

粤ICP备19079148号