Hello community, here is the log from the commit of package cvise for openSUSE:Factory checked in at 2020-11-10 13:46:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvise (Old) and /work/SRC/openSUSE:Factory/.cvise.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvise" Tue Nov 10 13:46:41 2020 rev:20 rq:847448 version:1.9.0+git.20201110.a000f9e Changes: -------- --- /work/SRC/openSUSE:Factory/cvise/cvise.changes 2020-11-06 23:46:13.647133603 +0100 +++ /work/SRC/openSUSE:Factory/.cvise.new.11331/cvise.changes 2020-11-10 13:53:33.498838089 +0100 @@ -1,0 +2,20 @@ +Tue Nov 10 09:01:19 UTC 2020 - mli...@suse.cz + +- Update to version 1.9.0+git.20201110.a000f9e: + * Improve printing of multiple reduced test-cases. + * Remove -n auto from pytest config. + * Start reduction for multiple files by the biggest. + * Fix reduction for multiple files when --commands is used. + +------------------------------------------------------------------- +Tue Nov 10 07:17:30 UTC 2020 - mli...@suse.cz + +- Update to version 1.8.0+git.20201110.8cdd0e5: + * Bump to v1.9.0. + * Use -n auto for pytest. + * Clean up Cmake warnings. + * Disable builds with older LLVM releases. + * Add setup.cfg file for pytest. + * Update build configurations. + +------------------------------------------------------------------- Old: ---- cvise-1.8.0+git.20201106.e7821e8.tar.xz New: ---- cvise-1.9.0+git.20201110.a000f9e.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvise.spec ++++++ --- /var/tmp/diff_new_pack.Li3dNd/_old 2020-11-10 13:53:34.550836101 +0100 +++ /var/tmp/diff_new_pack.Li3dNd/_new 2020-11-10 13:53:34.550836101 +0100 @@ -17,7 +17,7 @@ Name: cvise -Version: 1.8.0+git.20201106.e7821e8 +Version: 1.9.0+git.20201110.a000f9e Release: 0 Summary: Super-parallel Python port of the C-Reduce License: BSD-3-Clause ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Li3dNd/_old 2020-11-10 13:53:34.598836009 +0100 +++ /var/tmp/diff_new_pack.Li3dNd/_new 2020-11-10 13:53:34.598836009 +0100 @@ -4,7 +4,7 @@ <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">cvise</param> - <param name="versionformat">1.8.0+git.%cd.%h</param> + <param name="versionformat">1.9.0+git.%cd.%h</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> ++++++ cvise-1.8.0+git.20201106.e7821e8.tar.xz -> cvise-1.9.0+git.20201110.a000f9e.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/.travis.yml new/cvise-1.9.0+git.20201110.a000f9e/.travis.yml --- old/cvise-1.8.0+git.20201106.e7821e8/.travis.yml 2020-11-06 13:13:21.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/.travis.yml 2020-11-10 09:54:40.000000000 +0100 @@ -27,47 +27,35 @@ matrix: - include: - - name: DEBUG build (LLVM 9) - stage: build - env: - - BUILD_TYPE=DEBUG - - DIST=opensusetw-llvm9 - - - name: DEBUG build (LLVM 10) - stage: build - env: - - BUILD_TYPE=DEBUG - - DIST=opensusetw-llvm10 - - - name: COVERAGE build (LLVM 10) + - name: COVERAGE build (LLVM 11) stage: build env: - BUILD_TYPE=COVERAGE - - DIST=opensusetw-llvm10 + - DIST=opensusetw-llvm11 - - name: UBSAN build (LLVM 10) + - name: UBSAN build (LLVM 11) stage: build env: - BUILD_TYPE=UBSAN - - DIST=opensusetw-llvm10 + - DIST=opensusetw-llvm11 - - name: ASAN build (LLVM 10) + - name: ASAN build (LLVM 11) stage: build env: - BUILD_TYPE=ASAN - - DIST=opensusetw-llvm10 + - DIST=opensusetw-llvm11 - - name: Fedora 32 DEBUG build (LLVM 9) + - name: Fedora 33 DEBUG build (LLVM 11) stage: build env: - BUILD_TYPE=DEBUG - - DIST=fedora32-llvm9 + - DIST=fedora33-llvm11 - - name: Fedora dev DEBUG build (LLVM 10) + - name: Fedora dev DEBUG build (LLVM 11) stage: build env: - BUILD_TYPE=DEBUG - - DIST=fedoradev-llvm10 + - DIST=fedoradev-llvm11 before_install: # podman needs a basic register set up (packaging bug in the ppa) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/CMakeLists.txt new/cvise-1.9.0+git.20201110.a000f9e/CMakeLists.txt --- old/cvise-1.8.0+git.20201106.e7821e8/CMakeLists.txt 2020-11-06 13:13:21.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/CMakeLists.txt 2020-11-10 09:54:40.000000000 +0100 @@ -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.8.0") +set(cvise_PACKAGE_STRING "cvise 1.9.0") set(cvise_PACKAGE_TARNAME "cvise") set(cvise_PACKAGE_URL "https://github.com/marxin/cvise/") -set(cvise_PACKAGE_VERSION "1.8.0") -set(cvise_VERSION "1.8.0") +set(cvise_PACKAGE_VERSION "1.9.0") +set(cvise_VERSION "1.9.0") set(cvise_LLVM_VERSION "${LLVM_PACKAGE_VERSION}") configure_file("cmake_config.h.in" "${PROJECT_BINARY_DIR}/config.h") @@ -190,15 +190,20 @@ configure_file( "${PROJECT_SOURCE_DIR}/tests/test_cvise.py" "${PROJECT_BINARY_DIR}/tests/test_cvise.py" - @COPYONLY + COPYONLY ) configure_file( "${PROJECT_SOURCE_DIR}/tests/sources/blocksort-part.c" "${PROJECT_BINARY_DIR}/tests/sources/blocksort-part.c" - @COPYONLY + COPYONLY ) +configure_file( + "${PROJECT_SOURCE_DIR}/setup.cfg" + "${PROJECT_BINARY_DIR}/setup.cfg" + COPYONLY +) install(PROGRAMS "${PROJECT_BINARY_DIR}/cvise.py" DESTINATION "${CMAKE_INSTALL_BINDIR}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedora32-llvm9 new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedora32-llvm9 --- old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedora32-llvm9 2020-11-06 13:13:21.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedora32-llvm9 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -FROM fedora:31 - -RUN dnf install -y python3-pip python3-pytest python3-psutil llvm-devel clang-devel cmake make flex unifdef -RUN pip3 install Pebble - -WORKDIR /usr/src/cvise -VOLUME /usr/src/cvise diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedora33-llvm11 new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedora33-llvm11 --- old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedora33-llvm11 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedora33-llvm11 2020-11-10 09:54:40.000000000 +0100 @@ -0,0 +1,7 @@ +FROM fedora:33 + +RUN dnf install -y python3-pip python3-pytest python3-psutil llvm-devel clang-devel cmake make flex unifdef +RUN pip3 install Pebble + +WORKDIR /usr/src/cvise +VOLUME /usr/src/cvise diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedoradev-llvm10 new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedoradev-llvm10 --- old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedoradev-llvm10 2020-11-06 13:13:21.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedoradev-llvm10 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -FROM fedora:rawhide - -RUN dnf install -y python3-pip python3-pytest python3-psutil llvm-devel clang-devel cmake make flex unifdef -RUN pip3 install Pebble - -WORKDIR /usr/src/cvise -VOLUME /usr/src/cvise diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedoradev-llvm11 new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedoradev-llvm11 --- old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-fedoradev-llvm11 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-fedoradev-llvm11 2020-11-10 09:54:40.000000000 +0100 @@ -0,0 +1,7 @@ +FROM fedora:rawhide + +RUN dnf install -y python3-pip python3-pytest python3-psutil llvm-devel clang-devel cmake make flex unifdef +RUN pip3 install Pebble + +WORKDIR /usr/src/cvise +VOLUME /usr/src/cvise diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-opensusetw-llvm11 new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-opensusetw-llvm11 --- old/cvise-1.8.0+git.20201106.e7821e8/Docker/Dockerfile-opensusetw-llvm11 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/Docker/Dockerfile-opensusetw-llvm11 2020-11-10 09:54:40.000000000 +0100 @@ -0,0 +1,9 @@ +FROM opensuse/tumbleweed + +RUN zypper -n install \ + binutils clang11-devel cmake flex gcc-c++ llvm11-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" + +WORKDIR /usr/src/cvise +VOLUME /usr/src/cvise diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/cvise/utils/testing.py new/cvise-1.9.0+git.20201110.a000f9e/cvise/utils/testing.py --- old/cvise-1.8.0+git.20201106.e7821e8/cvise/utils/testing.py 2020-11-06 13:13:21.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/cvise/utils/testing.py 2020-11-10 09:54:40.000000000 +0100 @@ -185,7 +185,7 @@ @property def sorted_test_cases(self): - return sorted(self.test_cases, key=os.path.getsize) + return sorted(self.test_cases, key=os.path.getsize, reverse=True) @staticmethod def get_file_size(files): @@ -453,7 +453,7 @@ if not self.skip_key_off: logger = readkey.KeyLogger() - for test_case in self.test_cases: + for test_case in self.sorted_test_cases: self.current_test_case = test_case if self.get_file_size([test_case]) == 0: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/cvise.py new/cvise-1.9.0+git.20201110.a000f9e/cvise.py --- old/cvise-1.8.0+git.20201106.e7821e8/cvise.py 2020-11-06 13:13:21.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/cvise.py 2020-11-10 09:54:40.000000000 +0100 @@ -247,6 +247,11 @@ print('Either INTERESTINGNESS_TEST or --commands must be used!') exit(1) + # shift interestingness_test if --commands is used + if args.interestingness_test and args.commands: + args.test_cases.insert(0, args.interestingness_test) + args.interestingness_test = None + script = None if args.commands: with tempfile.NamedTemporaryFile(mode="w", delete=False, suffix=".sh") as script: @@ -288,7 +293,8 @@ print("Runtime: {} seconds".format(round((time_stop - time_start)))) print('Reduced test-cases:\n') - for test_case in test_manager.sorted_test_cases: + for test_case in sorted(test_manager.test_cases): + print(f'--- {test_case} ---') with open(test_case) as test_case_file: print(test_case_file.read()) if script: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.8.0+git.20201106.e7821e8/setup.cfg new/cvise-1.9.0+git.20201110.a000f9e/setup.cfg --- old/cvise-1.8.0+git.20201106.e7821e8/setup.cfg 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-1.9.0+git.20201110.a000f9e/setup.cfg 2020-11-10 09:54:40.000000000 +0100 @@ -0,0 +1,2 @@ +[tool:pytest] +addopts = -vv