|
Boost Users : |
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://lists.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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net