From a22c53a8070a5668ca3a22c5cdee02fd4fb66444 Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Tue, 5 Jun 2018 14:31:06 +0200 Subject: [PATCH] TestSuite: Temporary fix for CTests yet to be ported into the CppUnit framework. --- test_suite/helpers/globals.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_suite/helpers/globals.cxx b/test_suite/helpers/globals.cxx index 54dc27e11..6e7859f69 100644 --- a/test_suite/helpers/globals.cxx +++ b/test_suite/helpers/globals.cxx @@ -36,6 +36,9 @@ namespace fgtest globals = new FGGlobals; DataStore &data = DataStore::get(); + if (!data.getFGRoot().exists()) { + data.findFGRoot(""); + } globals->set_fg_root(data.getFGRoot()); tests_fgdata = data.getFGRoot();