diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 12:14:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 12:14:51 +0100 |
commit | 066a81ee8dec07525b8f6c05ee71cf498ea65d72 (patch) | |
tree | 24ea6ae441d85cba1c5c0a76aecb9d52db5ceb47 /sal | |
parent | 443208dce74746c0a7771d3bc55a5d61de5260bf (diff) |
This is test code, OK to unconditionally print to stdout
Change-Id: I419aba8728b3a65fca69c82a4f950daaf4815187
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/process/osl_process.cxx | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx index 036be4bb593b..bb1856de76a9 100644 --- a/sal/qa/osl/process/osl_process.cxx +++ b/sal/qa/osl/process/osl_process.cxx @@ -276,10 +276,8 @@ public: string_container_t parent_env; read_parent_environment(&parent_env); -#if OSL_DEBUG_LEVEL > 0 for (string_container_t::const_iterator iter = parent_env.begin(), end = parent_env.end(); iter != end; ++iter) - SAL_INFO("sal.process", "initially parent env: " << *iter); -#endif + std::cout << "initially parent env: " << *iter << "\n"; //remove the environment variables that we have changed //in the child environment from the read parent environment @@ -287,20 +285,16 @@ public: std::remove_if(parent_env.begin(), parent_env.end(), exclude(different_env_vars)), parent_env.end()); -#if OSL_DEBUG_LEVEL > 0 for (string_container_t::const_iterator iter = parent_env.begin(), end = parent_env.end(); iter != end; ++iter) - SAL_INFO("sal.process", "stripped parent env: " << *iter); -#endif + std::cout << "stripped parent env: " << *iter << "\n"; //read the child environment and exclude the variables that //are different string_container_t child_env; read_child_environment(&child_env); -#if OSL_DEBUG_LEVEL > 0 for (string_container_t::const_iterator iter = child_env.begin(), end = child_env.end(); iter != end; ++iter) - SAL_INFO("sal.process", "initial child env: " << *iter); -#endif + std::cout << "initial child env: " << *iter << "\n"; //partition the child environment into the variables that //are different to the parent environment (they come first) //and the variables that should be equal between parent @@ -311,23 +305,17 @@ public: string_container_t different_child_env_vars(child_env.begin(), iter_logical_end); child_env.erase(child_env.begin(), iter_logical_end); -#if OSL_DEBUG_LEVEL > 0 for (string_container_t::const_iterator iter = child_env.begin(), end = child_env.end(); iter != end; ++iter) - SAL_INFO("sal.process", "stripped child env: " << *iter); -#endif + std::cout << "stripped child env: " << *iter << "\n"; bool common_env_size_equals = (parent_env.size() == child_env.size()); bool common_env_content_equals = std::equal(child_env.begin(), child_env.end(), parent_env.begin()); -#if OSL_DEBUG_LEVEL > 0 for (string_container_t::const_iterator iter = different_env_vars.begin(), end = different_env_vars.end(); iter != end; ++iter) - SAL_INFO("sal.process", "different should be: " << *iter); -#endif + std::cout << "different should be: " << *iter << "\n"; -#if OSL_DEBUG_LEVEL > 0 for (string_container_t::const_iterator iter = different_child_env_vars.begin(), end = different_child_env_vars.end(); iter != end; ++iter) - SAL_INFO("sal.process", "different are: " << *iter); -#endif + std::cout << "different are: " << *iter << "\n"; bool different_env_size_equals = (different_child_env_vars.size() == different_env_vars.size()); bool different_env_content_equals = |