$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ed Johnson (ed_at_[hidden])
Date: 2006-05-03 19:39:55
Hi,
I tried to use the BOOST_GLOBAL_FIXTURE macro using 1.33.1, but I
can't seem to get it to run. The breakpoints do not stop on it, and
there is no output from the constructor or destructor.
http://listarchives.boost.org/Archives/boost/2005/12/98092.php
------
#define BOOST_AUTO_TEST_MAIN
#include <iostream>
struct MyConfig {
MyConfig() { std::cout << "global setup\n"; }
~MyConfig() { std::cout << "global teardown\n"; }
};
BOOST_GLOBAL_FIXTURE( MyConfig ) ;
BOOST_GLOBAL_FIXTURE( MyConfig m )
{
m;
}
Any ideas?
Thanks,
Ed