!25 解决测试用例中有test-zstream-2,但实际没有运行

From: @zhangy103
Reviewed-by: @licihua
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2021-11-09 11:23:52 +00:00 committed by Gitee
commit 7659b8cd1e
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,13 @@
--- zstd-1.5.0/build/meson/tests/meson.build 2021-05-14 22:59:34.000000000 +0800
+++ zstd.bak/build/meson/tests/meson.build 2021-11-08 17:12:17.225379241 +0800
@@ -186,10 +186,6 @@
zstreamtest,
args: ['-v', ZSTREAM_TESTTIME] + FUZZER_FLAGS,
timeout: 240)
-test('test-zstream-2',
- zstreamtest,
- args: ['-mt', '-t1', ZSTREAM_TESTTIME] + FUZZER_FLAGS,
- timeout: 120)
test('test-zstream-3',
zstreamtest,
args: ['--newapi', '-t1', ZSTREAM_TESTTIME] + FUZZER_FLAGS,

View File

@ -2,7 +2,7 @@
Name: zstd
Version: 1.5.0
Release: 3
Release: 4
Summary: A fast lossless compression algorithm
License: BSD and GPLv2
URL: https://github.com/facebook/zstd
@ -10,6 +10,7 @@ Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{
Patch1: backport-zstd-1.5.0-patch-1-set-mtime-on-output-files.patch
Patch2: backport-zstd-1.5.0-patch-2-add-tests-set-mtime-on-output-files.patch
Patch3: backport-zstd-1.5.0-patch-3-remove-invalid-test.patch
BuildRequires: gtest-devel gcc-c++ pkg-config
Provides: libzstd
@ -89,6 +90,9 @@ install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1
%{_mandir}/man1/*.1*
%changelog
* Mon Nov 08 2021 zhangying <zhangying103@huawei.com> - 1.5.0-4
* remove invalid test
* Wed Nov 03 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0-3
* add tests - solve the modification time is set to the compression time