reorganised regex config setup

[SVN r10064]
This commit is contained in:
John Maddock
2001-05-08 11:24:35 +00:00
parent fb81ff65fc
commit efd0ce56bc
53 changed files with 377 additions and 2346 deletions

View File

@ -16,7 +16,7 @@
/*
*
* FILE regress.cpp
* VERSION 3.10
* VERSION 3.11
*
* main() and associated code for regress.
*
@ -39,6 +39,8 @@ using std::endl;
#pragma hrdstop
#endif
#include <boost/test/cpp_main.cpp>
#include "regress.h"
#if defined(BOOST_MSVC) && defined(_DEBUG)
@ -72,7 +74,7 @@ void usage()
}
int main(int argc, char * argv[])
int cpp_main(int argc, char * argv[])
{
#if defined(BOOST_MSVC) && defined(_DEBUG)
// turn on heap reporting at program exit:
@ -111,10 +113,6 @@ int main(int argc, char * argv[])
}
cout << line << " lines, " << tests << " tests completed in file " << argv[i] << endl;
}
if(error_count)
cout << "There were " << error_count << " failures in total..." << endl;
else
cout << "No failures detected..." << endl;
return error_count;
}