Commit 8ccdba8b authored by incardon's avatar incardon

Adding delete global vcluster function

parent 54fcd2ae
......@@ -882,6 +882,7 @@ public:
};
void init_global_v_cluster(int *argc, char ***argv);
void delete_global_v_cluster();
extern Vcluster * global_v_cluster;
......
......@@ -12,7 +12,7 @@
struct ut_start {
ut_start() { BOOST_TEST_MESSAGE("Initialize global VCluster"); init_global_v_cluster(&boost::unit_test::framework::master_test_suite().argc,&boost::unit_test::framework::master_test_suite().argv); }
~ut_start() { BOOST_TEST_MESSAGE("Delete global VClster");delete(global_v_cluster); }
~ut_start() { BOOST_TEST_MESSAGE("Delete global VClster");delete_global_v_cluster(); }
};
//____________________________________________________________________________//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment