TestSuite: Temporary fix for CTests yet to be ported into the CppUnit framework.
This commit is contained in:
parent
d043a20d3f
commit
a22c53a807
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ namespace fgtest
|
||||||
globals = new FGGlobals;
|
globals = new FGGlobals;
|
||||||
|
|
||||||
DataStore &data = DataStore::get();
|
DataStore &data = DataStore::get();
|
||||||
|
if (!data.getFGRoot().exists()) {
|
||||||
|
data.findFGRoot("");
|
||||||
|
}
|
||||||
globals->set_fg_root(data.getFGRoot());
|
globals->set_fg_root(data.getFGRoot());
|
||||||
tests_fgdata = data.getFGRoot();
|
tests_fgdata = data.getFGRoot();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue