Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cvise for openSUSE:Factory checked 
in at 2022-07-02 15:34:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cvise (Old)
 and      /work/SRC/openSUSE:Factory/.cvise.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cvise"

Sat Jul  2 15:34:12 2022 rev:47 rq:986225 version:2.4.0+git.20220701.2941a38

Changes:
--------
--- /work/SRC/openSUSE:Factory/cvise/cvise.changes      2022-07-01 
13:45:27.486943495 +0200
+++ /work/SRC/openSUSE:Factory/.cvise.new.1548/cvise.changes    2022-07-02 
15:34:16.262993349 +0200
@@ -1,0 +2,7 @@
+Fri Jul 01 12:15:15 UTC 2022 - [email protected]
+
+- Update to version 2.4.0+git.20220701.2941a38:
+  * Add new option --skip-after-n-transforms.
+  * llvm{9,10} are removed in Tumbleweed now
+
+-------------------------------------------------------------------

Old:
----
  cvise-2.4.0+git.20220630.80a749e.tar.xz

New:
----
  cvise-2.4.0+git.20220701.2941a38.tar.xz

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

Other differences:
------------------
++++++ cvise.spec ++++++
--- /var/tmp/diff_new_pack.4wKTNX/_old  2022-07-02 15:34:16.758994093 +0200
+++ /var/tmp/diff_new_pack.4wKTNX/_new  2022-07-02 15:34:16.762994099 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           cvise
-Version:        2.4.0+git.20220630.80a749e
+Version:        2.4.0+git.20220701.2941a38
 Release:        0
 Summary:        Super-parallel Python port of the C-Reduce
 License:        BSD-3-Clause

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.4wKTNX/_old  2022-07-02 15:34:16.814994177 +0200
+++ /var/tmp/diff_new_pack.4wKTNX/_new  2022-07-02 15:34:16.818994183 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/marxin/cvise</param>
-              <param 
name="changesrevision">80a749e2550c538668b93d4b16372a0a1a47450d</param></service></servicedata>
+              <param 
name="changesrevision">2941a38b03c28e0c7a06e32abda1d66c1d35579e</param></service></servicedata>
 (No newline at EOF)
 

++++++ cvise-2.4.0+git.20220630.80a749e.tar.xz -> 
cvise-2.4.0+git.20220701.2941a38.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.4.0+git.20220630.80a749e/.github/workflows/build.yml 
new/cvise-2.4.0+git.20220701.2941a38/.github/workflows/build.yml
--- old/cvise-2.4.0+git.20220630.80a749e/.github/workflows/build.yml    
2022-06-30 13:38:57.000000000 +0200
+++ new/cvise-2.4.0+git.20220701.2941a38/.github/workflows/build.yml    
2022-07-01 14:14:40.000000000 +0200
@@ -12,7 +12,7 @@
 
     strategy:
       matrix:
-        llvm: [9, 10, 11, 12, 13, 14]
+        llvm: [11, 12, 13, 14]
         build-type: [DEBUG]
         docker: [opensuse/tumbleweed]
         include:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.4.0+git.20220630.80a749e/cvise/utils/testing.py 
new/cvise-2.4.0+git.20220701.2941a38/cvise/utils/testing.py
--- old/cvise-2.4.0+git.20220630.80a749e/cvise/utils/testing.py 2022-06-30 
13:38:57.000000000 +0200
+++ new/cvise-2.4.0+git.20220701.2941a38/cvise/utils/testing.py 2022-07-01 
14:14:40.000000000 +0200
@@ -135,7 +135,7 @@
 
     def __init__(self, pass_statistic, test_script, timeout, save_temps, 
test_cases, parallel_tests,
                  no_cache, skip_key_off, silent_pass_bug, die_on_pass_bug, 
print_diff, max_improvement,
-                 no_give_up, also_interesting, start_with_pass):
+                 no_give_up, also_interesting, start_with_pass, 
skip_after_n_transforms):
         self.test_script = os.path.abspath(test_script)
         self.timeout = timeout
         self.save_temps = save_temps
@@ -152,6 +152,7 @@
         self.no_give_up = no_give_up
         self.also_interesting = also_interesting
         self.start_with_pass = start_with_pass
+        self.skip_after_n_transforms = skip_after_n_transforms
 
         for test_case in test_cases:
             self.check_file_permissions(test_case, [os.F_OK, os.R_OK, 
os.W_OK], InvalidTestCaseError)
@@ -488,6 +489,7 @@
             for test_case in self.sorted_test_cases:
                 self.current_test_case = test_case
                 starting_test_case_size = os.path.getsize(test_case)
+                success_count = 0
 
                 if self.get_file_size([test_case]) == 0:
                     continue
@@ -524,6 +526,7 @@
 
                     if success_env:
                         self.process_result(success_env)
+                        success_count += 1
 
                     # if the file increases significantly, bail out the 
current pass
                     test_case_size = os.path.getsize(self.current_test_case)
@@ -532,6 +535,11 @@
                                      f'{MAX_PASS_INCREASEMENT_THRESHOLD * 
100}%)')
                         break
 
+                    # skip after N transformations if requested
+                    if self.skip_after_n_transforms and success_count >= 
self.skip_after_n_transforms:
+                        logging.info(f'skipping after {success_count} 
successful transformations')
+                        break
+
                     self.release_folders()
                     self.futures.clear()
                     if not success_env:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.4.0+git.20220630.80a749e/cvise.py 
new/cvise-2.4.0+git.20220701.2941a38/cvise.py
--- old/cvise-2.4.0+git.20220630.80a749e/cvise.py       2022-06-30 
13:38:57.000000000 +0200
+++ new/cvise-2.4.0+git.20220701.2941a38/cvise.py       2022-07-01 
14:14:40.000000000 +0200
@@ -194,6 +194,7 @@
     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')
     parser.add_argument('--to-utf8', action='store_true', help='Convert any 
non-UTF-8 encoded input file to UTF-8')
+    parser.add_argument('--skip-after-n-transforms', type=int, help='Skip each 
pass after N successful transformations')
     parser.add_argument('interestingness_test', 
metavar='INTERESTINGNESS_TEST', nargs='?', help='Executable to check 
interestingness of test cases')
     parser.add_argument('test_cases', metavar='TEST_CASE', nargs='+', 
help='Test cases')
 
@@ -292,7 +293,7 @@
     test_manager = testing.TestManager(pass_statistic, 
args.interestingness_test, args.timeout,
                                        args.save_temps, args.test_cases, 
args.n, args.no_cache, args.skip_key_off, args.shaddap,
                                        args.die_on_pass_bug, args.print_diff, 
args.max_improvement, args.no_give_up, args.also_interesting,
-                                       args.start_with_pass)
+                                       args.start_with_pass, 
args.skip_after_n_transforms)
 
     reducer = CVise(test_manager, args.skip_interestingness_test_check)
 

Reply via email to