Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cvise for openSUSE:Factory checked 
in at 2021-06-28 15:33:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cvise (Old)
 and      /work/SRC/openSUSE:Factory/.cvise.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cvise"

Mon Jun 28 15:33:45 2021 rev:36 rq:902777 version:2.3.0+git.20210628.38b42d9

Changes:
--------
--- /work/SRC/openSUSE:Factory/cvise/cvise.changes      2021-05-08 
22:08:46.077391735 +0200
+++ /work/SRC/openSUSE:Factory/.cvise.new.2625/cvise.changes    2021-06-28 
15:34:17.499234714 +0200
@@ -1,0 +2,10 @@
+Mon Jun 28 09:13:38 UTC 2021 - mli...@suse.cz
+
+- Update to version 2.3.0+git.20210628.38b42d9:
+  * Remove creduce tests.
+  * Fixed a crash caused by macro
+  * Fixed an issue for processing init-lists
+  * Fixed a crash for removing function decl groups
+  * Handle move in int. test.
+
+-------------------------------------------------------------------

Old:
----
  cvise-2.3.0+git.20210419.e9a7b94.tar.xz

New:
----
  cvise-2.3.0+git.20210628.38b42d9.tar.xz

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

Other differences:
------------------
++++++ cvise.spec ++++++
--- /var/tmp/diff_new_pack.M3GfKG/_old  2021-06-28 15:34:18.063235406 +0200
+++ /var/tmp/diff_new_pack.M3GfKG/_new  2021-06-28 15:34:18.067235412 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           cvise
-Version:        2.3.0+git.20210419.e9a7b94
+Version:        2.3.0+git.20210628.38b42d9
 Release:        0
 Summary:        Super-parallel Python port of the C-Reduce
 License:        BSD-3-Clause

++++++ cvise-2.3.0+git.20210419.e9a7b94.tar.xz -> 
cvise-2.3.0+git.20210628.38b42d9.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.3.0+git.20210419.e9a7b94/.gitignore 
new/cvise-2.3.0+git.20210628.38b42d9/.gitignore
--- old/cvise-2.3.0+git.20210419.e9a7b94/.gitignore     1970-01-01 
01:00:00.000000000 +0100
+++ new/cvise-2.3.0+git.20210628.38b42d9/.gitignore     2021-06-28 
11:11:43.000000000 +0200
@@ -0,0 +1,71 @@
+# Files made by compilation.
+.deps/
+.libs/
+*.a
+*.la
+*.lo
+*.o
+*.obj
+cvise-*.tar.gz
+
+# Files made by Eclipse CDT.
+.autotools
+.cproject
+.project
+
+# CMake generated files
+CMakeCache.txt
+CMakeFiles
+cmake_install.cmake
+install_manifest.txt
+
+*.vcxproj
+*.vcxproj.filters
+*.sln
+
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+## User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# Build results
+[Dd]ebug/
+[Rr]elease/
+x64/
+x86/
+objdir/
+
+# Visual Studio 2015 cache/options directory
+.vs/
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opensdf
+*.sdf
+*.cachefile
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Python cache files
+__pycache__
+*.pyc
+.pytest_cache
+
+# pyenv files
+.python-version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/.gitignore 
new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/.gitignore
--- old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/.gitignore 1970-01-01 
01:00:00.000000000 +0100
+++ new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/.gitignore 2021-06-28 
11:11:43.000000000 +0200
@@ -0,0 +1,4 @@
+# Additions to the patterns specified in the root `.gitignore' file.
+
+# Files made by compilation.
+clang_delta
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/ReducePointerLevel.cpp 
new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/ReducePointerLevel.cpp
--- old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/ReducePointerLevel.cpp     
2021-04-19 15:23:43.000000000 +0200
+++ new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/ReducePointerLevel.cpp     
2021-06-28 11:11:43.000000000 +0200
@@ -627,9 +627,9 @@
   unsigned InitNum = ILE->getNumInits();
   for (unsigned int I = 0; I < InitNum; ++I) {
     E = ILE->getInit(I);
-    ILE = dyn_cast<InitListExpr>(E);
-    if (ILE) {
-      E = getFirstInitListElem(ILE);
+    const InitListExpr *NewILE = dyn_cast<InitListExpr>(E);
+    if (NewILE) {
+      E = getFirstInitListElem(NewILE);
     }
 
     if (E)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/RemoveNamespace.cpp 
new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/RemoveNamespace.cpp
--- old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/RemoveNamespace.cpp        
2021-04-19 15:23:43.000000000 +0200
+++ new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/RemoveNamespace.cpp        
2021-06-28 11:11:43.000000000 +0200
@@ -1019,7 +1019,7 @@
   StartLoc = SrcManager->getFileLoc(StartLoc);
   SourceLocation EndLoc;
   if (ND->decls_empty()) {
-    EndLoc = RBLoc;
+    EndLoc = SrcManager->getFileLoc(RBLoc);
   }
   else {
     DeclContext::decl_iterator I = ND->decls_begin();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/RemoveUnusedFunction.cpp 
new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/RemoveUnusedFunction.cpp
--- old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/RemoveUnusedFunction.cpp   
2021-04-19 15:23:43.000000000 +0200
+++ new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/RemoveUnusedFunction.cpp   
2021-06-28 11:11:43.000000000 +0200
@@ -472,8 +472,24 @@
     LocEnd = SrcManager->getExpansionLoc(LocEnd);
   if (!FD->isInExternCContext() && !FD->isInExternCXXContext()) {
     SourceLocation FuncLocStart = getFunctionOuterLocStart(FD);
+
     if (FuncLocStart.isInvalid())
       return;
+    // This is a workaround to cases where we have function declaration
+    // groups, e.g.
+    //   void *foo(), bar();
+    // It's very tricky to remove a single decl in such a case.
+    // Let's just remove all decls for now. To avoid removing text that
+    // has been removed, we keep track the start loc for each group so that
+    // we only remove each group once.
+    if (!FD->hasBody()) {
+      if (FDGroupLocations.count(FuncLocStart)) {
+        return;
+      } else {
+        FDGroupLocations.insert(FuncLocStart);
+      }
+    }
+
     LocEnd = getFunctionLocEnd(FuncLocStart, LocEnd, FD);
     if (SrcManager->isWrittenInMainFile(FuncLocStart) &&
         SrcManager->isWrittenInMainFile(LocEnd))
@@ -630,7 +646,11 @@
 {
   for (FunctionDecl::redecl_iterator RI = FD->redecls_begin(),
        RE = FD->redecls_end(); RI != RE; ++RI) {
-    removeOneFunctionDecl(*RI);
+    const FunctionDecl *FD = (*RI);
+    if (!FD->hasBody() && !FD->getTypeSourceInfo()) {
+      continue;
+    }
+    removeOneFunctionDecl(FD);
   }
 
   removeMemberSpecializations(FD);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/RemoveUnusedFunction.h 
new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/RemoveUnusedFunction.h
--- old/cvise-2.3.0+git.20210419.e9a7b94/clang_delta/RemoveUnusedFunction.h     
2021-04-19 15:23:43.000000000 +0200
+++ new/cvise-2.3.0+git.20210628.38b42d9/clang_delta/RemoveUnusedFunction.h     
2021-06-28 11:11:43.000000000 +0200
@@ -193,6 +193,8 @@
 
   LocSet VisitedLocations;
 
+  LocSet FDGroupLocations;
+
   FunctionDeclVector AllValidFunctionDecls;
 
   RUFAnalysisVisitor *AnalysisVisitor;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.3.0+git.20210419.e9a7b94/clex/.gitignore 
new/cvise-2.3.0+git.20210628.38b42d9/clex/.gitignore
--- old/cvise-2.3.0+git.20210419.e9a7b94/clex/.gitignore        1970-01-01 
01:00:00.000000000 +0100
+++ new/cvise-2.3.0+git.20210628.38b42d9/clex/.gitignore        2021-06-28 
11:11:43.000000000 +0200
@@ -0,0 +1,7 @@
+# Additions to the patterns specified in the root `.gitignore' file.
+
+# Files made by compilation.
+clex
+clex.c
+strlex
+strlex.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.3.0+git.20210419.e9a7b94/cvise/utils/testing.py 
new/cvise-2.3.0+git.20210628.38b42d9/cvise/utils/testing.py
--- old/cvise-2.3.0+git.20210419.e9a7b94/cvise/utils/testing.py 2021-04-19 
15:23:43.000000000 +0200
+++ new/cvise-2.3.0+git.20210628.38b42d9/cvise/utils/testing.py 2021-06-28 
11:11:43.000000000 +0200
@@ -543,7 +543,10 @@
                 diff_str = subprocess.check_output('colordiff', shell=True, 
encoding='utf8', input=diff_str)
             logging.info(diff_str)
 
-        shutil.copy(test_env.test_case_path, self.current_test_case)
+        try:
+            shutil.copy(test_env.test_case_path, self.current_test_case)
+        except FileNotFoundError:
+            raise RuntimeError(f"Can't find {self.current_test_case} -- did 
your interestingness test move it?")
 
         self.state = 
self.current_pass.advance_on_success(test_env.test_case_path, test_env.state)
         self.pass_statistic.add_success(self.current_pass)

Reply via email to