X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcmdline.cc;h=43e5ef2d14bc46be2e380f7b8eaf6e3f94f697ef;hb=f59fd04d7f72f556edafd63d58e6bf0b8335c016;hp=df0221586fcad72feddfc3bc11d14b688800ab42;hpb=b77b43c9487182778670f996abbec348dcd8fa1d;p=awesomized%2Flibmemcached diff --git a/libtest/cmdline.cc b/libtest/cmdline.cc index df022158..43e5ef2d 100644 --- a/libtest/cmdline.cc +++ b/libtest/cmdline.cc @@ -439,9 +439,14 @@ Application::error_t Application::join() } // If we terminted it on purpose then it counts as a success. - Out << "waitpid() application terminated at request" - << " pid:" << _pid - << " name:" << built_argv[0]; +#if defined(DEBUG) + if (DEBUG) + { + Out << "waitpid() application terminated at request" + << " pid:" << _pid + << " name:" << built_argv[0]; + } +#endif } else {