Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Issue 11234068: Unittest filtering (Closed)

Created:
8 years, 2 months ago by nkang
Modified:
8 years, 1 month ago
Reviewers:
anantha, kkania
CC:
chromium-reviews
Visibility:
Public.

Description

Moved Main class to a new file called run_install_tests.py and modified it by adding the ability to filter unittests. This will allow users to run individual unittests, a set of tests, or the entire suite. BUG=none NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164090

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -106 lines) Patch
M install_test/install_test.py View 1 2 chunks +0 lines, -88 lines 0 comments Download
A install_test/run_install_tests.py View 1 2 1 chunk +200 lines, -0 lines 0 comments Download
M install_test/sample_updater.py View 1 2 3 2 chunks +1 line, -18 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
nkang
Added support for running individual unittests or a set of unittests.
8 years, 2 months ago (2012-10-23 23:26:09 UTC) #1
kkania
https://codereview.chromium.org/11234068/diff/1/install_test/install_test.py File install_test/install_test.py (right): https://codereview.chromium.org/11234068/diff/1/install_test/install_test.py#newcode272 install_test/install_test.py:272: if os.path.dirname(sys.argv[0]) not in sys.path: I think this is ...
8 years, 2 months ago (2012-10-24 15:19:54 UTC) #2
nkang
Addressed the comments made by Ken. The main change has to do with the Main ...
8 years, 2 months ago (2012-10-24 23:35:14 UTC) #3
kkania
http://codereview.chromium.org/11234068/diff/5001/install_test/run_install_tests.py File install_test/run_install_tests.py (right): http://codereview.chromium.org/11234068/diff/5001/install_test/run_install_tests.py#newcode65 install_test/run_install_tests.py:65: '-f', '--filter', type='string', default=None, dest='filter', set default to '*' ...
8 years, 2 months ago (2012-10-24 23:44:05 UTC) #4
nkang
Addressed all comments. http://codereview.chromium.org/11234068/diff/5001/install_test/run_install_tests.py File install_test/run_install_tests.py (right): http://codereview.chromium.org/11234068/diff/5001/install_test/run_install_tests.py#newcode65 install_test/run_install_tests.py:65: '-f', '--filter', type='string', default=None, dest='filter', On ...
8 years, 2 months ago (2012-10-24 23:52:45 UTC) #5
kkania
lgtm
8 years, 2 months ago (2012-10-24 23:59:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkang@chromium.org/11234068/9001
8 years, 1 month ago (2012-10-25 16:45:59 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/test/install_test/sample_updater.py: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-10-25 16:46:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkang@chromium.org/11234068/4004
8 years, 1 month ago (2012-10-25 16:58:45 UTC) #9
commit-bot: I haz the power
8 years, 1 month ago (2012-10-25 17:00:16 UTC) #10
Change committed as 164090

Powered by Google App Engine
This is Rietveld 408576698