History log of /external/autotest/client/common_lib/logging_manager_test.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
74a314b490ff542c4dd2ae4aa0d11c6394d92960 23-Jun-2011 Dale Curtis <dalecurtis@chromium.org> Upstream Autotest merge.

As titled, a merge up to 93fc426ca133e775eb495f34d138fc57d92fb55e.

- Removes a bunch of deprecated code.
- Moves several private utilities into the private repo.
- Couple changes ported upstream and resynced.

BUG=None
TEST=In progress... will spin up new Autotest server and use
run_remote_tests for bvt, regression, smoke.

Change-Id: Id3e2ad529bb7b05f148e5d98aea46bb9ea828200
Reviewed-on: http://gerrit.chromium.org/gerrit/3350
Tested-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
/external/autotest/client/common_lib/logging_manager_test.py
48e69052c17e7f7a0647e7711dd18d8571789172 25-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> expose the do_not_report_as_logging_caller() decorator in logging_manager as public.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3765 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/logging_manager_test.py
6631273af8b88842cbd6202cc4615daf050cc957 27-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Make a bunch of stuff executable



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3621 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/logging_manager_test.py
8de1b4fb3e7bff2d026c21419ea0c9b3068f3a72 21-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change handling of filename in logging_manager_test.py so that it no
longer randomly fails when run from utils/unittest_suite.py.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3565 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/logging_manager_test.py
8f2ac92f35081c8bf66d831569dcc5c8c32426e0 30-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Work around python 2.4.3 bug http://bugs.python.org/issue1652788 by
using sys._getframe(2) directly instead of logging.currentframe().

TESTED on ubuntu dapper python 2.4.3 (fixes a bug)
TESTED on ubuntu hardy python 2.4.5 and python 2.5.2 (keeps working)

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3334 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/logging_manager_test.py
89f901697a27eb9a4da647176e3556b2840f0956 30-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Make logging_manager report the correct module name when LoggingFile is
being used rather than 'logging_manager' itself.

This involves monkey patching the logging module (again) but that should be
safe to do as the stdlib logging code has not changed in Python 2.4-2.6.

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3329 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/logging_manager_test.py
115ac1eee543a46d6fe5d8469f8f523ce23825ac 17-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix logging_manager_test to account for some recent changes

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3291 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/logging_manager_test.py
e96f7a905b3dd758e034e75ca5d29a5bfcbf4610 10-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> adding new library logging_manager, a reimplementation of fd_stack's behavior using the logging module. it's capable of the things fd_stack does (redirect, tee_redirect, restore), but it forces everything to go through the logging module and uses logging handlers to direct output to various files and/or streams. unfortunately, the requirement that we capture output from subprocess not launched through utils.run() and friends means we still need to do all the forking business that fd_stack does, and it adds a ton of complexity.

obviously nothing is using this yet. this is just a first step. the plan is to obsolete fd_stack and parts of subcommand with this code.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3239 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/logging_manager_test.py