From 55fe398822344aa4d25a6bd6524cee32014181f9 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Wed, 6 Sep 2006 14:06:04 +0200 Subject: [PATCH] fix test sample code --- samples/main-test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/main-test.cc b/samples/main-test.cc index ff1af85c6..8e4116a28 100644 --- a/samples/main-test.cc +++ b/samples/main-test.cc @@ -4,7 +4,7 @@ using namespace ns3; -#ifndef RUN_SELF_TESTS +#ifdef RUN_SELF_TESTS // declare subclass of base class Test class MyTest : public Test { @@ -30,7 +30,7 @@ MyTest::runTests (void) } // instantiate MyTest once -static MyTest g_my_test = MyTest (false); +static MyTest g_my_test = MyTest (true); #endif /* RUN_SELF_TESTS */