From 8e43a27211ec3a4bfa150e3f213abdba64b3aabe Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 2 Mar 2009 04:51:55 -0400 Subject: The optimized build could not run 'make fullcheck' --- test/UnitTests.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/UnitTests.cc b/test/UnitTests.cc index 8b19a6fe..16e7e520 100644 --- a/test/UnitTests.cc +++ b/test/UnitTests.cc @@ -48,12 +48,12 @@ int main(int argc, char* argv[]) { int index = 1; -#if defined(VERIFY_ON) if (argc > index && std::string(argv[index]) == "--verify") { +#if defined(VERIFY_ON) ledger::verify_enabled = true; +#endif index++; } -#endif // Retreive test path from command line first argument. Default to // "" which resolves to the top level suite. -- cgit v1.2.3