aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2012-12-03 09:53:37 -0500
committerDiego Novillo <dnovillo@gcc.gnu.org>2012-12-03 09:53:37 -0500
commitf15b972787dde99826750d935a2f2635608b1ce8 (patch)
tree91d857ff93895888614c84ccb525d7e650465bed /contrib
parentad25c558024978a2612715d52119d10e38afd8d5 (diff)
downloadgcc-f15b972787dde99826750d935a2f2635608b1ce8.zip
gcc-f15b972787dde99826750d935a2f2635608b1ce8.tar.gz
gcc-f15b972787dde99826750d935a2f2635608b1ce8.tar.bz2
Fix stale use of old 'options' argument.
An earlier patch had made the command line options a global variable _OPTIONS, but it had not renamed all the uses of the old options argument. * testsuite-management/validate_failures.py: Fix stale use of 'options'. From-SVN: r194092
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/testsuite-management/validate_failures.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index cc1c8df..f7fee0e 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-03 Diego Novillo <dnovillo@google.com>
+
+ * testsuite-management/validate_failures.py: Fix stale
+ use of 'options'.
+
2012-11-30 Doug Evans <dje@google.com>
* testsuite-management/validate_failures.py: Add support for @include,
diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py
index 483f466..d02b575 100755
--- a/contrib/testsuite-management/validate_failures.py
+++ b/contrib/testsuite-management/validate_failures.py
@@ -241,7 +241,7 @@ def GetNegativeResult(line):
def ParseManifestWorker(result_set, manifest_path):
"""Read manifest_path, adding the contents to result_set."""
- if options.verbosity >= 1:
+ if _OPTIONS.verbosity >= 1:
print 'Parsing manifest file %s.' % manifest_path
manifest_file = open(manifest_path)
for line in manifest_file: