Unit Tests - Config
- Added unit tests for Config. Why didn't I do this a year ago? - Shut off old 1.7.0 code (gulp). - Task now thoroughly broken, and only 1.8.0 can help.
This commit is contained in:
@@ -310,6 +310,7 @@ int main (int argc, char** argv)
|
||||
status = context.run ();
|
||||
|
||||
// start OBSOLETE
|
||||
/*
|
||||
TDB tdb;
|
||||
std::string dataLocation = expandPath (context.config.get ("data.location"));
|
||||
tdb.dataDirectory (dataLocation);
|
||||
@@ -332,6 +333,8 @@ int main (int argc, char** argv)
|
||||
}
|
||||
|
||||
std::cout << runTaskCommand (context.args, tdb);
|
||||
*/
|
||||
// end OBSOLETE
|
||||
}
|
||||
|
||||
catch (std::string& error)
|
||||
@@ -345,7 +348,6 @@ int main (int argc, char** argv)
|
||||
std::cerr << context.stringtable.get (100, "Unknown error.") << std::endl;
|
||||
return -2;
|
||||
}
|
||||
// end OBSOLETE
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user