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

Unified Diff: scripts/slave/recipes/chromium_gn_upload.py

Issue 920493002: Run gn_unittests on gn_upload step. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: ./scripts/slave/unittests/recipe_simulation_test.py train Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_gn_upload.expected/full_tryserver_chromium_linux_linux_chromium_gn_upload_x64.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/chromium_gn_upload.py
diff --git a/scripts/slave/recipes/chromium_gn_upload.py b/scripts/slave/recipes/chromium_gn_upload.py
index 5f181e688c9bba8bbde6139cc915201ac50df95f..d7c8d631fe99602bd8dd41731ef329cb6d9b5ae9 100644
--- a/scripts/slave/recipes/chromium_gn_upload.py
+++ b/scripts/slave/recipes/chromium_gn_upload.py
@@ -88,12 +88,7 @@ def GenSteps(api):
api.step('gn version', [path_to_binary, '--version'])
- # TODO: crbug.com/443813 - if gn_unittests is run from any dir other
- # than the checkout root, it'll fail. Unfortunately, if runtest
- # is run from any place other than the checkout root (the directory
- # above api.path['checkout']), it computes the path to the binary
- # incorrectly and fails to find it :(.
- # api.chromium.runtest('gn_unittests', cwd=api.path['checkout'])
+ api.chromium.runtest('gn_unittests', cwd=api.path['checkout'])
api.python('upload',
api.path['depot_tools'].join('upload_to_google_storage.py'),
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_gn_upload.expected/full_tryserver_chromium_linux_linux_chromium_gn_upload_x64.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698