Hello community, here is the log from the commit of package cvise for openSUSE:Factory checked in at 2020-06-17 14:56:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvise (Old) and /work/SRC/openSUSE:Factory/.cvise.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvise" Wed Jun 17 14:56:48 2020 rev:10 rq:815407 version:1.4.0+git.20200617.20d10d4 Changes: -------- --- /work/SRC/openSUSE:Factory/cvise/cvise.changes 2020-06-10 00:49:42.707148350 +0200 +++ /work/SRC/openSUSE:Factory/.cvise.new.3606/cvise.changes 2020-06-17 14:57:11.910390733 +0200 @@ -1,0 +2,9 @@ +Wed Jun 17 07:39:51 UTC 2020 - mli...@suse.cz + +- Update to version 1.4.0+git.20200617.20d10d4: + * Add --no-renaming option. + * Fix interestingness test error message. + * Record LLVM version in Bug report. + * Fix use of uninitialized members. + +------------------------------------------------------------------- Old: ---- cvise-1.4.0+git.20200601.4173fa7.tar.xz New: ---- cvise-1.4.0+git.20200617.20d10d4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvise.spec ++++++ --- /var/tmp/diff_new_pack.lZreQe/_old 2020-06-17 14:57:13.590396486 +0200 +++ /var/tmp/diff_new_pack.lZreQe/_new 2020-06-17 14:57:13.590396486 +0200 @@ -17,7 +17,7 @@ Name: cvise -Version: 1.4.0+git.20200601.4173fa7 +Version: 1.4.0+git.20200617.20d10d4 Release: 0 Summary: Super-parallel Python port of the C-Reduce License: BSD-3-Clause ++++++ cvise-1.4.0+git.20200601.4173fa7.tar.xz -> cvise-1.4.0+git.20200617.20d10d4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/CMakeLists.txt new/cvise-1.4.0+git.20200617.20d10d4/CMakeLists.txt --- old/cvise-1.4.0+git.20200601.4173fa7/CMakeLists.txt 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/CMakeLists.txt 2020-06-17 09:38:41.000000000 +0200 @@ -127,6 +127,7 @@ set(cvise_PACKAGE_URL "https://github.com/marxin/cvise/") set(cvise_PACKAGE_VERSION "1.4.0") set(cvise_VERSION "1.4.0") +set(cvise_LLVM_VERSION "${LLVM_PACKAGE_VERSION}") configure_file("cmake_config.h.in" "${PROJECT_BINARY_DIR}/config.h") add_definitions("-DHAVE_CONFIG_H") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/clang_delta/TransformationManager.cpp new/cvise-1.4.0+git.20200617.20d10d4/clang_delta/TransformationManager.cpp --- old/cvise-1.4.0+git.20200601.4173fa7/clang_delta/TransformationManager.cpp 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/clang_delta/TransformationManager.cpp 2020-06-17 09:38:41.000000000 +0200 @@ -425,7 +425,9 @@ CheckReference(false), ReferenceValue(""), SetCXXStandard(false), - CXXStandard("") + CXXStandard(""), + WarnOnCounterOutOfBounds(false), + ReportInstancesCount(false) { // Nothing to do } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/cvise/cvise.py new/cvise-1.4.0+git.20200617.20d10d4/cvise/cvise.py --- old/cvise-1.4.0+git.20200601.4173fa7/cvise/cvise.py 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/cvise/cvise.py 2020-06-17 09:38:41.000000000 +0200 @@ -21,6 +21,7 @@ VERSION = "@cvise_VERSION@" GIT_VERSION = "@GIT_HASH@" + LLVM_VERSION = "@LLVM_VERSION@" pass_name_mapping = { "balanced": passes.BalancedPass, @@ -58,7 +59,7 @@ @classmethod def parse_pass_group_dict(cls, pass_group_dict, pass_options, external_programs, remove_pass, - clang_delta_std, not_c): + clang_delta_std, not_c, no_renaming): pass_group = {} removed_passes = set(remove_pass.split(",")) if remove_pass else set() @@ -101,6 +102,8 @@ 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"]: + continue pass_instance.clang_delta_std = clang_delta_std pass_group[category].append(pass_instance) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/cvise/pass_groups/all.json new/cvise-1.4.0+git.20200617.20d10d4/cvise/pass_groups/all.json --- old/cvise-1.4.0+git.20200601.4173fa7/cvise/pass_groups/all.json 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/cvise/pass_groups/all.json 2020-06-17 09:38:41.000000000 +0200 @@ -162,23 +162,23 @@ {"pass": "ints", "arg": "d"}, {"pass": "ints", "arg": "c"}, {"pass": "balanced", "arg": "parens-only"}, - {"pass": "clex", "arg": "rename-toks"}, + {"pass": "clex", "arg": "rename-toks", "renaming": true}, {"pass": "clex", "arg": "delete-string"}, {"pass": "clex", "arg": "define"} ], "last": [ - {"pass": "clang", "arg": "rename-fun", "c": true}, - {"pass": "clang", "arg": "rename-param", "c": true}, - {"pass": "clang", "arg": "rename-var", "c": true}, - {"pass": "clang", "arg": "rename-class", "c": true}, - {"pass": "clang", "arg": "rename-cxx-method", "c": true}, + {"pass": "clang", "arg": "rename-fun", "c": true, "renaming": true}, + {"pass": "clang", "arg": "rename-param", "c": true, "renaming": true}, + {"pass": "clang", "arg": "rename-var", "c": true, "renaming": true}, + {"pass": "clang", "arg": "rename-class", "c": true, "renaming": true}, + {"pass": "clang", "arg": "rename-cxx-method", "c": true, "renaming": true}, {"pass": "clang", "arg": "combine-global-var", "c": true}, {"pass": "clang", "arg": "combine-local-var", "c": true}, {"pass": "clang", "arg": "simplify-struct-union-decl", "c": true}, {"pass": "clang", "arg": "move-global-var", "c": true}, {"pass": "clang", "arg": "unify-function-decl", "c": true}, {"pass": "lines", "arg": "0"}, - {"pass": "clex", "arg": "rename-toks"}, + {"pass": "clex", "arg": "rename-toks", "renaming": true}, {"pass": "clex", "arg": "delete-string"}, {"pass": "indent", "arg": "final"} ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/cvise/pass_groups/opencl-120.json new/cvise-1.4.0+git.20200617.20d10d4/cvise/pass_groups/opencl-120.json --- old/cvise-1.4.0+git.20200601.4173fa7/cvise/pass_groups/opencl-120.json 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/cvise/pass_groups/opencl-120.json 2020-06-17 09:38:41.000000000 +0200 @@ -141,19 +141,19 @@ {"pass": "ints", "arg": "d"}, {"pass": "ints", "arg": "c"}, {"pass": "balanced", "arg": "parens-only"}, - {"pass": "clex", "arg": "rename-toks"}, + {"pass": "clex", "arg": "rename-toks", "renaming": true}, {"pass": "clex", "arg": "delete-string"}, {"pass": "clex", "arg": "define"} ], "last": [ - {"pass": "clang", "arg": "rename-fun", "c": true }, - {"pass": "clang", "arg": "rename-param", "c": true }, - {"pass": "clang", "arg": "rename-var", "c": true }, - {"pass": "clang", "arg": "combine-local-var", "c": true }, - {"pass": "clang", "arg": "simplify-struct-union-decl", "c": true }, - {"pass": "clang", "arg": "unify-function-decl", "c": true }, + {"pass": "clang", "arg": "rename-fun", "c": true, "renaming": true}, + {"pass": "clang", "arg": "rename-param", "c": true, "renaming": true}, + {"pass": "clang", "arg": "rename-var", "c": true, "renaming": true}, + {"pass": "clang", "arg": "combine-local-var", "c": true}, + {"pass": "clang", "arg": "simplify-struct-union-decl", "c": true}, + {"pass": "clang", "arg": "unify-function-decl", "c": true}, {"pass": "lines", "arg": "0"}, - {"pass": "clex", "arg": "rename-toks"}, + {"pass": "clex", "arg": "rename-toks", "renaming": true}, {"pass": "clex", "arg": "delete-string"}, {"pass": "indent", "arg": "final"} ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/cvise/utils/error.py new/cvise-1.4.0+git.20200617.20d10d4/cvise/utils/error.py --- old/cvise-1.4.0+git.20200601.4173fa7/cvise/utils/error.py 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/cvise/utils/error.py 2020-06-17 09:38:41.000000000 +0200 @@ -111,7 +111,7 @@ DIR=`mktemp -d` cp {test_cases} $DIR cd $DIR - {test} {test_cases} + {test} echo $? should result in "0" being echoed to the terminal. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/cvise/utils/testing.py new/cvise-1.4.0+git.20200617.20d10d4/cvise/utils/testing.py --- old/cvise-1.4.0+git.20200601.4173fa7/cvise/utils/testing.py 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/cvise/utils/testing.py 2020-06-17 09:38:41.000000000 +0200 @@ -238,9 +238,10 @@ logging.debug("Please consider tarring up {} and creating an issue at https://github.com/marxin/cvise/issues and we will try to fix the bug.".format(crash_dir)) with open(os.path.join(crash_dir, "PASS_BUG_INFO.TXT"), mode="w") as info_file: - info_file.write("{}\n".format(CVise.Info.PACKAGE_STRING)) - info_file.write("{}\n".format(CVise.Info.GIT_VERSION)) - info_file.write("{}\n".format(platform.uname())) + info_file.write("Package: %s\n" % CVise.Info.PACKAGE_STRING) + info_file.write("Git version: %s\n" % CVise.Info.GIT_VERSION) + info_file.write("LLVM version: %s\n" % CVise.Info.LLVM_VERSION) + info_file.write("System: %s\n" % str(platform.uname())) info_file.write(PassBugError.MSG.format(self.current_pass, problem, test_env.state, crash_dir)) if self.die_on_pass_bug: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.4.0+git.20200601.4173fa7/cvise.py new/cvise-1.4.0+git.20200617.20d10d4/cvise.py --- old/cvise-1.4.0+git.20200601.4173fa7/cvise.py 2020-06-01 14:20:05.000000000 +0200 +++ new/cvise-1.4.0+git.20200617.20d10d4/cvise.py 2020-06-17 09:38:41.000000000 +0200 @@ -110,7 +110,7 @@ try: pass_group_dict = CVise.load_pass_group_file(path) - CVise.parse_pass_group_dict(pass_group_dict, set(), None, None, None, None) + CVise.parse_pass_group_dict(pass_group_dict, set(), None, None, None, None, None) except MissingPassGroupsError: logging.warning("Skipping file {}. Not valid pass group.".format(path)) else: @@ -167,6 +167,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("--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") @@ -218,7 +219,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.remove_pass, args.clang_delta_std, args.not_c, args.no_renaming) if args.list_passes: logging.info('Available passes:') logging.info('INITIAL PASSES') @@ -284,8 +285,7 @@ for test_case in test_manager.sorted_test_cases: with open(test_case) as test_case_file: print(test_case_file.read()) - - if script: - os.remove(script.name) + if script: + os.remove(script.name) logging.shutdown()