Skip to content

Commit

Permalink
Use namespace shorthand for utils::config: config
Browse files Browse the repository at this point in the history
Reported-by: Justine Akehurst <justine.akehurst@protonmail.ch>
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
  • Loading branch information
ngie-eign committed Apr 2, 2019
1 parent 892bbc8 commit 0c5df97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/scheduler.cpp
Expand Up @@ -513,7 +513,7 @@ void
scheduler::interface::exec_cleanup(
const model::test_program& /* test_program */,
const std::string& /* test_case_name */,
const utils::config::properties_map& /* vars */,
const config::properties_map& /* vars */,
const utils::fs::path& /* control_directory */) const
{
// Most test interfaces do not support standalone cleanup routines so
Expand Down
4 changes: 2 additions & 2 deletions engine/tap.cpp
Expand Up @@ -140,12 +140,12 @@ void
engine::tap_interface::exec_test(
const model::test_program& test_program,
const std::string& test_case_name,
const utils::config::properties_map& vars,
const config::properties_map& vars,
const fs::path& /* control_directory */) const
{
PRE(test_case_name == "main");

for (utils::config::properties_map::const_iterator iter = vars.begin();
for (config::properties_map::const_iterator iter = vars.begin();
iter != vars.end(); ++iter) {
utils::setenv(F("TEST_ENV_%s") % (*iter).first, (*iter).second);
}
Expand Down

0 comments on commit 0c5df97

Please sign in to comment.