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

Unified Diff: tools/clang/scripts/update.py

Issue 1137373002: Enable blink_gc_plugin tests on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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
Index: tools/clang/scripts/update.py
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
index 8e973d87727df33b7dcf1fbfd88c5bda40671387..42ada8b7bdead0b582085b2da55f0ac6fd1076f4 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -295,6 +295,11 @@ def UpdateClang(args):
CopyFile(os.path.join(sanitizer_include_dir, f),
aux_sanitizer_include_dir)
+ if args.run_tests:
+ os.chdir(LLVM_BUILD_DIR)
+ RunCommand(GetVSVersion().SetupScript('x64') +
+ ['&&', 'ninja', 'cr-check-all'])
+
WriteStampFile(LLVM_WIN_REVISION)
print 'Clang update was successful.'
return 0
@@ -329,6 +334,7 @@ def main():
# mad if it sees a flag it doesn't recognize.
parser.add_argument('--if-needed', action='store_true')
parser.add_argument('--print-revision', action='store_true')
+ parser.add_argument('--run-tests', action='store_true')
args = parser.parse_args()
« tools/clang/blink_gc_plugin/tests/test.py ('K') | « tools/clang/blink_gc_plugin/tests/test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698