Hello community,

here is the log from the commit of package cvise for openSUSE:Factory checked 
in at 2020-10-22 14:25:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cvise (Old)
 and      /work/SRC/openSUSE:Factory/.cvise.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cvise"

Thu Oct 22 14:25:34 2020 rev:17 rq:843248 version:1.8.0+git.20201021.07d465a

Changes:
--------
--- /work/SRC/openSUSE:Factory/cvise/cvise.changes      2020-09-30 
19:54:10.416773028 +0200
+++ /work/SRC/openSUSE:Factory/.cvise.new.3463/cvise.changes    2020-10-22 
14:26:48.802994341 +0200
@@ -1,0 +2,21 @@
+Wed Oct 21 15:19:16 UTC 2020 - mli...@suse.cz
+
+- Update to version 1.8.0+git.20201021.07d465a:
+  * Bump to v1.8.0.
+
+-------------------------------------------------------------------
+Wed Oct 21 15:02:43 UTC 2020 - mli...@suse.cz
+
+- Update to version 1.8.0+git.20201021.39657be:
+  * Disable renaming passes by default.
+  * Fix LinesPass for Fortran "Standard Fixed Format".
+  * Use proper openSUSE package in Docker image.
+  * Bump to v1.7.0.
+  * Fix psutil core count detection code.
+  * Add OBS image at the beginning.
+  * Add icon.
+  * Add OBS master following project.
+  * Update last update Creduce commit.
+  * Fix a small type.
+
+-------------------------------------------------------------------

Old:
----
  cvise-1.7.0+git.20200929.17345b8.tar.xz

New:
----
  cvise-1.8.0+git.20201021.07d465a.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cvise.spec ++++++
--- /var/tmp/diff_new_pack.vrcNAx/_old  2020-10-22 14:26:49.390994869 +0200
+++ /var/tmp/diff_new_pack.vrcNAx/_new  2020-10-22 14:26:49.394994873 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           cvise
-Version:        1.7.0+git.20200929.17345b8
+Version:        1.8.0+git.20201021.07d465a
 Release:        0
 Summary:        Super-parallel Python port of the C-Reduce
 License:        BSD-3-Clause

++++++ _service ++++++
--- /var/tmp/diff_new_pack.vrcNAx/_old  2020-10-22 14:26:49.430994905 +0200
+++ /var/tmp/diff_new_pack.vrcNAx/_new  2020-10-22 14:26:49.430994905 +0200
@@ -4,7 +4,7 @@
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>
     <param name="filename">cvise</param>
-    <param name="versionformat">1.7.0+git.%cd.%h</param>
+    <param name="versionformat">1.8.0+git.%cd.%h</param>
   </service>
   <service mode="disabled" name="recompress">
     <param name="file">*.tar</param>

++++++ cvise-1.7.0+git.20200929.17345b8.tar.xz -> 
cvise-1.8.0+git.20201021.07d465a.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-1.7.0+git.20200929.17345b8/CMakeLists.txt 
new/cvise-1.8.0+git.20201021.07d465a/CMakeLists.txt
--- old/cvise-1.7.0+git.20200929.17345b8/CMakeLists.txt 2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/CMakeLists.txt 2020-10-21 
17:18:17.000000000 +0200
@@ -122,11 +122,11 @@
 set(cvise_PACKAGE             "cvise")
 set(cvise_PACKAGE_BUGREPORT   "https://github.com/marxin/cvise/issues";)
 set(cvise_PACKAGE_NAME        "cvise")
-set(cvise_PACKAGE_STRING      "cvise 1.7.0")
+set(cvise_PACKAGE_STRING      "cvise 1.8.0")
 set(cvise_PACKAGE_TARNAME     "cvise")
 set(cvise_PACKAGE_URL         "https://github.com/marxin/cvise/";)
-set(cvise_PACKAGE_VERSION     "1.7.0")
-set(cvise_VERSION             "1.7.0")
+set(cvise_PACKAGE_VERSION     "1.8.0")
+set(cvise_VERSION             "1.8.0")
 set(cvise_LLVM_VERSION        "${LLVM_PACKAGE_VERSION}")
 
 configure_file("cmake_config.h.in" "${PROJECT_BINARY_DIR}/config.h")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/Docker/Dockerfile-opensusetw-llvm10 
new/cvise-1.8.0+git.20201021.07d465a/Docker/Dockerfile-opensusetw-llvm10
--- old/cvise-1.7.0+git.20200929.17345b8/Docker/Dockerfile-opensusetw-llvm10    
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/Docker/Dockerfile-opensusetw-llvm10    
2020-10-21 17:18:17.000000000 +0200
@@ -1,7 +1,7 @@
 FROM opensuse/tumbleweed
 
 RUN zypper -n install \
-        binutils clang10-devel cmake flex gcc-c++ llvm10-devel python3-Pebble 
python3-pytest4 unifdef python3-pip python3-psutil sqlite-devel git python3
+        binutils clang10-devel cmake flex gcc-c++ llvm10-devel python3-Pebble 
python3-pytest unifdef python3-pip python3-psutil sqlite-devel git python3
 RUN pip install codecov pytest-cov
 ENV LSAN_OPTIONS="detect_leaks=0"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-1.7.0+git.20200929.17345b8/cvise/cvise.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/cvise.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/cvise.py 2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/cvise.py 2020-10-21 
17:18:17.000000000 +0200
@@ -55,7 +55,7 @@
 
     @classmethod
     def parse_pass_group_dict(cls, pass_group_dict, pass_options, 
external_programs, remove_pass,
-            clang_delta_std, not_c, no_renaming):
+            clang_delta_std, not_c, renaming):
         pass_group = {}
         removed_passes = set(remove_pass.split(",")) if remove_pass else set()
 
@@ -98,7 +98,7 @@
 
                 if not_c and "c" in pass_dict and pass_dict["c"]:
                     continue
-                elif no_renaming and "renaming" in pass_dict and 
pass_dict["renaming"]:
+                elif not renaming and "renaming" in pass_dict and 
pass_dict["renaming"]:
                     continue
 
                 pass_instance.clang_delta_std = clang_delta_std
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/abstract.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/abstract.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/abstract.py       
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/abstract.py       
2020-10-21 17:18:17.000000000 +0200
@@ -89,7 +89,7 @@
     def check_prerequisites(self):
         raise NotImplementedError("Class {} has not implemented 
'check_prerequisites'!".format(type(self).__name__))
 
-    def new(self, test_case):
+    def new(self, test_case, check_sanity):
         raise NotImplementedError("Class {} has not implemented 
'new'!".format(type(self).__name__))
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/balanced.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/balanced.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/balanced.py       
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/balanced.py       
2020-10-21 17:18:17.000000000 +0200
@@ -15,7 +15,7 @@
 
         return m
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return self.__get_next_match(test_case, pos=0)
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/blank.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/blank.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/blank.py  2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/blank.py  2020-10-21 
17:18:17.000000000 +0200
@@ -9,7 +9,7 @@
     def check_prerequisites(self):
         return True
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return 0
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/clang.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/clang.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/clang.py  2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/clang.py  2020-10-21 
17:18:17.000000000 +0200
@@ -9,7 +9,7 @@
     def check_prerequisites(self):
         return self.check_external_program("clang_delta")
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return 1
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/clangbinarysearch.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/clangbinarysearch.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/clangbinarysearch.py      
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/clangbinarysearch.py      
2020-10-21 17:18:17.000000000 +0200
@@ -28,7 +28,7 @@
         logging.info('using C++ standard: %s with %d instances' % (best, 
best_count))
         self.clang_delta_std = best
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         self.detect_best_standard(test_case)
         return BinaryState.create(self.count_instances(test_case))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/clex.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/clex.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/clex.py   2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/clex.py   2020-10-21 
17:18:17.000000000 +0200
@@ -8,7 +8,7 @@
     def check_prerequisites(self):
         return self.check_external_program("clex")
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return 0
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/comments.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/comments.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/comments.py       
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/comments.py       
2020-10-21 17:18:17.000000000 +0200
@@ -6,7 +6,7 @@
     def check_prerequisites(self):
         return True
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return -2
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/ifs.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/ifs.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/ifs.py    2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/ifs.py    2020-10-21 
17:18:17.000000000 +0200
@@ -31,7 +31,7 @@
                         in_multiline = True
         return count
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         bs = BinaryState.create(self.__count_instances(test_case))
         if bs:
             bs.value = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/includeincludes.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/includeincludes.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/includeincludes.py        
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/includeincludes.py        
2020-10-21 17:18:17.000000000 +0200
@@ -9,7 +9,7 @@
     def check_prerequisites(self):
         return True
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return 1
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/includes.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/includes.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/includes.py       
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/includes.py       
2020-10-21 17:18:17.000000000 +0200
@@ -9,7 +9,7 @@
     def check_prerequisites(self):
         return True
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return 1
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/indent.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/indent.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/indent.py 2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/indent.py 2020-10-21 
17:18:17.000000000 +0200
@@ -5,7 +5,7 @@
     def check_prerequisites(self):
         return self.check_external_program("clang-format")
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return 0
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/ints.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/ints.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/ints.py   2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/ints.py   2020-10-21 
17:18:17.000000000 +0200
@@ -44,7 +44,7 @@
         config["replace_fn"] = replace_fn
         return config
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         config = self.__get_config()
         with open(test_case, "r") as in_file:
             prog = in_file.read()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/line_markers.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/line_markers.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/line_markers.py   
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/line_markers.py   
2020-10-21 17:18:17.000000000 +0200
@@ -19,7 +19,7 @@
                     count += 1
         return count
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return BinaryState.create(self.__count_instances(test_case))
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/lines.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/lines.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/lines.py  2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/lines.py  2020-10-21 
17:18:17.000000000 +0200
@@ -3,13 +3,16 @@
 import tempfile
 import os
 
+import logging
+
+from cvise.utils.error import InsaneTestCaseError
 from cvise.passes.abstract import AbstractPass, BinaryState, PassResult
 
 class LinesPass(AbstractPass):
     def check_prerequisites(self):
         return self.check_external_program("topformflat")
 
-    def __format(self, test_case):
+    def __format(self, test_case, check_sanity):
         tmp = os.path.dirname(test_case)
         with tempfile.NamedTemporaryFile(mode="w+", delete=False, dir=tmp) as 
tmp_file:
             with open(test_case, "r") as in_file:
@@ -23,17 +26,34 @@
                 if not l.isspace():
                     tmp_file.write(l)
 
-        shutil.move(tmp_file.name, test_case)
+        # we need to check that sanity check is still fine
+        if check_sanity:
+            backup = tempfile.NamedTemporaryFile(mode="w+", delete=False, 
dir=tmp)
+            shutil.copyfile(test_case, backup.name)
+            shutil.move(tmp_file.name, test_case)
+            try:
+                check_sanity()
+            except InsaneTestCaseError:
+                shutil.move(backup.name, test_case)
+                # if we are not the first lines pass, we should bail out
+                if self.arg != '0':
+                    self.bailout = True
+        else:
+            shutil.move(tmp_file.name, test_case)
 
     def __count_instances(self, test_case):
         with open(test_case, "r") as in_file:
             lines = in_file.readlines()
             return len(lines)
 
-    def new(self, test_case):
+    def new(self, test_case, check_sanity=None):
+        self.bailout = False
         # None means no topformflat
         if self.arg != 'None':
-            self.__format(test_case)
+            self.__format(test_case, check_sanity)
+            if self.bailout:
+                logging.info('Skipping pass as sanity check fails for 
topformflat output')
+                return None
         instances = self.__count_instances(test_case)
         return BinaryState.create(instances)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/peep.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/peep.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/peep.py   2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/peep.py   2020-10-21 
17:18:17.000000000 +0200
@@ -124,7 +124,7 @@
     def check_prerequisites(self):
         return True
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return {"pos" : 0, "regex" : 0}
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/special.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/special.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/special.py        
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/special.py        
2020-10-21 17:18:17.000000000 +0200
@@ -42,7 +42,7 @@
 
         return m
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         config = self.__get_config()
         with open(test_case, "r") as in_file:
             prog = in_file.read()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/ternary.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/ternary.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/ternary.py        
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/ternary.py        
2020-10-21 17:18:17.000000000 +0200
@@ -30,7 +30,7 @@
 
         return m
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return self.__get_next_match(test_case, pos=0)
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/unifdef.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/unifdef.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/passes/unifdef.py        
2020-09-29 17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/passes/unifdef.py        
2020-10-21 17:18:17.000000000 +0200
@@ -10,7 +10,7 @@
     def check_prerequisites(self):
         return self.check_external_program("unifdef")
 
-    def new(self, test_case):
+    def new(self, test_case, _=None):
         return 0
 
     def advance(self, test_case, state):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-1.7.0+git.20200929.17345b8/cvise/utils/testing.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise/utils/testing.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise/utils/testing.py 2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise/utils/testing.py 2020-10-21 
17:18:17.000000000 +0200
@@ -457,7 +457,7 @@
                         continue
 
             # create initial state
-            self.state = self.current_pass.new(self.current_test_case)
+            self.state = self.current_pass.new(self.current_test_case, 
self.check_sanity)
             self.skip = False
 
             while self.state != None and not self.skip:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-1.7.0+git.20200929.17345b8/cvise.py 
new/cvise-1.8.0+git.20201021.07d465a/cvise.py
--- old/cvise-1.7.0+git.20200929.17345b8/cvise.py       2020-09-29 
17:35:22.000000000 +0200
+++ new/cvise-1.8.0+git.20201021.07d465a/cvise.py       2020-10-21 
17:18:17.000000000 +0200
@@ -171,7 +171,7 @@
     passes_group.add_argument("--pass-group-file", type=str, help="JSON file 
defining a custom pass group")
     parser.add_argument("--clang-delta-std", type=str, choices=["c++98", 
"c++11", "c++14", "c++17", "c++20"], help="Specify clang_delta C++ standard, it 
can rapidly speed up all clang_delta passes")
     parser.add_argument("--not-c", action="store_true", help="Don't run passes 
that are specific to C and C++, use this mode for reducing other languages")
-    parser.add_argument("--no-renaming", action="store_true", help="Skip all 
renaming passes")
+    parser.add_argument("--renaming", action="store_true", help="Enable all 
renaming passes (that are disabled by default)")
     parser.add_argument("--list-passes", action="store_true", help="Print all 
available passes and exit")
     parser.add_argument("--version", action="version", 
version=CVise.Info.PACKAGE_STRING  + (' (%s)' % CVise.Info.GIT_VERSION if 
CVise.Info.GIT_VERSION != 'unknown' else ''))
     parser.add_argument("--commands", "-c", help="Use bash commands instead of 
an interestingness test case")
@@ -223,7 +223,7 @@
 
     pass_group_dict = CVise.load_pass_group_file(pass_group_file)
     pass_group = CVise.parse_pass_group_dict(pass_group_dict, pass_options, 
external_programs,
-            args.remove_pass, args.clang_delta_std, args.not_c, 
args.no_renaming)
+            args.remove_pass, args.clang_delta_std, args.not_c, args.renaming)
     if args.list_passes:
         logging.info('Available passes:')
         logging.info('INITIAL PASSES')


Reply via email to