summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-02 04:51:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-02 04:51:55 -0400
commit8e43a27211ec3a4bfa150e3f213abdba64b3aabe (patch)
treeb72e449cf1adb930dadc0d4408320d608743511d
parent1937394db8bae985870269a4ad3f042a75833161 (diff)
downloadfork-ledger-8e43a27211ec3a4bfa150e3f213abdba64b3aabe.tar.gz
fork-ledger-8e43a27211ec3a4bfa150e3f213abdba64b3aabe.tar.bz2
fork-ledger-8e43a27211ec3a4bfa150e3f213abdba64b3aabe.zip
The optimized build could not run 'make fullcheck'
-rw-r--r--test/UnitTests.cc4
1 files 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.