Initialize StackCheck for all test drivers
This commit is contained in:
parent
09d85c79ac
commit
259d1b6435
3 changed files with 7 additions and 0 deletions
|
|
@ -38,6 +38,7 @@
|
|||
#include "CGAL_Nef_polyhedron.h"
|
||||
#include "GeometryEvaluator.h"
|
||||
#include "CGALCache.h"
|
||||
#include "stackcheck.h"
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <getopt.h>
|
||||
|
|
@ -87,6 +88,8 @@ int main(int argc, char **argv)
|
|||
{
|
||||
const char *filename, *outfilename = NULL;
|
||||
size_t cgalcachesize = 1*1024*1024;
|
||||
StackCheck::inst()->init();
|
||||
|
||||
po::variables_map vm;
|
||||
try {
|
||||
vm = parse_options(argc, argv);
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
#include "builtin.h"
|
||||
#include "Tree.h"
|
||||
#include "PlatformUtils.h"
|
||||
#include "stackcheck.h"
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <getopt.h>
|
||||
|
|
@ -72,6 +73,7 @@ int main(int argc, char **argv)
|
|||
|
||||
int rc = 0;
|
||||
|
||||
StackCheck::inst()->init();
|
||||
Builtins::instance()->initialize();
|
||||
|
||||
fs::path original_path = fs::current_path();
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
#include "export.h"
|
||||
#include "builtin.h"
|
||||
#include "Tree.h"
|
||||
#include "stackcheck.h"
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <getopt.h>
|
||||
|
|
@ -67,6 +68,7 @@ int main(int argc, char **argv)
|
|||
|
||||
int rc = 0;
|
||||
|
||||
StackCheck::inst()->init();
|
||||
Builtins::instance()->initialize();
|
||||
|
||||
fs::path original_path = fs::current_path();
|
||||
|
|
|
|||
Loading…
Reference in a new issue