validate_failures.py: Remove pass/fail indicator from result of GetBuildData.
authorDoug Evans <dje@google.com>
Thu, 29 Nov 2012 21:40:16 +0000 (21:40 +0000)
committerDoug Evans <devans@gcc.gnu.org>
Thu, 29 Nov 2012 21:40:16 +0000 (21:40 +0000)
* testsuite-management/validate_failures.py: Remove pass/fail
indicator from result of GetBuildData.

From-SVN: r193968

contrib/ChangeLog
contrib/testsuite-management/validate_failures.py

index c5b77e47976120ec002ea55e240a181e7eac2cb1..6bceead2be44c9123bd5118c5f6de31b1c4d340c 100644 (file)
@@ -1,5 +1,8 @@
 2012-11-29  Doug Evans  <dje@google.com>
 
+       * testsuite-management/validate_failures.py: Remove pass/fail
+       indicator from result of GetBuildData.
+
        * testsuite-management/validate_failures.py: Store options in global
        variable _OPTIONS.
 
index 24b61aa132fd99561b5c3e55ce6a6771cff49c4d..7844cb03fb1bccd30ff919fb56bb741ea440b41e 100755 (executable)
@@ -292,7 +292,7 @@ def GetBuildData():
           _OPTIONS.build_dir)
   print 'Source directory: %s' % srcdir
   print 'Build target:     %s' % target
-  return srcdir, target, True
+  return srcdir, target
 
 
 def PrintSummary(msg, summary):
@@ -334,9 +334,7 @@ def PerformComparison(expected, actual, ignore_missing_failures):
 
 def CheckExpectedResults():
   if not _OPTIONS.manifest:
-    (srcdir, target, valid_build) = GetBuildData()
-    if not valid_build:
-      return False
+    (srcdir, target) = GetBuildData()
     manifest_path = _MANIFEST_PATH_PATTERN % (srcdir, target)
   else:
     manifest_path = _OPTIONS.manifest
@@ -356,10 +354,7 @@ def CheckExpectedResults():
 
 
 def ProduceManifest():
-  (srcdir, target, valid_build) = GetBuildData()
-  if not valid_build:
-    return False
-
+  (srcdir, target) = GetBuildData()
   manifest_path = _MANIFEST_PATH_PATTERN % (srcdir, target)
   if os.path.exists(manifest_path) and not _OPTIONS.force:
     Error('Manifest file %s already exists.\nUse --force to overwrite.' %
@@ -377,9 +372,7 @@ def ProduceManifest():
 
 
 def CompareBuilds():
-  (srcdir, target, valid_build) = GetBuildData()
-  if not valid_build:
-    return False
+  (srcdir, target) = GetBuildData()
 
   sum_files = GetSumFiles(_OPTIONS.results, _OPTIONS.build_dir)
   actual = GetResults(sum_files)