From 9f6902983353217914b24dca39c4b3ec6a696565 Mon Sep 17 00:00:00 2001 From: zhangxiao Date: Wed, 10 Nov 2021 15:07:01 +0800 Subject: [PATCH 1/2] test --- zstd.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zstd.spec b/zstd.spec index 0cb068c..6456e53 100644 --- a/zstd.spec +++ b/zstd.spec @@ -49,10 +49,12 @@ done %if %{with pzstd} %make_build -C contrib/pzstd CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" %endif - +echo "start check" %check %ifarch %{arm} +echo "start test" make -C tests test-zstd +echo "end test" %endif %if %{with pzstd} make -C contrib/pzstd test CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" -- Gitee From 12c1f85a8a3f561e9269e6257becc929ea3e1a3b Mon Sep 17 00:00:00 2001 From: zhangxiao Date: Wed, 10 Nov 2021 15:16:22 +0800 Subject: [PATCH 2/2] test2 --- zstd.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/zstd.spec b/zstd.spec index 6456e53..3476138 100644 --- a/zstd.spec +++ b/zstd.spec @@ -51,11 +51,9 @@ done %endif echo "start check" %check -%ifarch %{arm} echo "start test" make -C tests test-zstd echo "end test" -%endif %if %{with pzstd} make -C contrib/pzstd test CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" %endif -- Gitee