1
0
Fork 0

TestSuite: Temporary fix for CTests yet to be ported into the CppUnit framework.

This commit is contained in:
Edward d'Auvergne 2018-06-05 14:31:06 +02:00
parent d043a20d3f
commit a22c53a807

View file

@ -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();