summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-05-18 19:20:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-18 19:20:05 +0000
commit9e17392183861a2b8b64abb4d528c79613ad3d57 (patch)
treed6eb789eef4c0db226b0f7c52da8423633583e90 /testing
parent377bd931d8d77d322095c7dcffd3c2cc31641fba (diff)
downloadpdfium-9e17392183861a2b8b64abb4d528c79613ad3d57.tar.xz
Fix small typo in common.pychromium/3436chromium/3435
This causes a crash if running verbose mode Change-Id: Ib5fe3dada8c81874aae110e21252edad05668a36 Reviewed-on: https://pdfium-review.googlesource.com/32737 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/tools/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tools/common.py b/testing/tools/common.py
index fc16004210..da3cac8a43 100755
--- a/testing/tools/common.py
+++ b/testing/tools/common.py
@@ -141,7 +141,7 @@ def GetBooleanGnArg(arg_name, build_dir, verbose=False):
os.chdir(cwd)
arg_match_output = re.search('%s = (.*)' % arg_name, gn_args_output).group(1)
if verbose:
- print >> sys.stderr, "Found '%s' for value of %s" % (arg_match_output, arg)
+ print >> sys.stderr, "Found '%s' for value of %s" % (arg_match_output, arg_name)
return arg_match_output == 'true'