From c8c404012b30196125a3cdad886ec4611585fbcf Mon Sep 17 00:00:00 2001 From: EulerOSWander <314264452@qq.com> Date: Wed, 8 Jan 2020 10:49:06 +0800 Subject: [PATCH] userspace-rcu:Enable the benchmark in regtest. Enable the benchmark in regtest. Signed-off-by: EulerOSWander <314264452@qq.com> --- regtest-without-bench.patch | 26 -------------------------- userspace-rcu.spec | 9 +++++++-- 2 files changed, 7 insertions(+), 28 deletions(-) delete mode 100644 regtest-without-bench.patch diff --git a/regtest-without-bench.patch b/regtest-without-bench.patch deleted file mode 100644 index 8c29b9d..0000000 --- a/regtest-without-bench.patch +++ /dev/null @@ -1,26 +0,0 @@ -Remove the benchmarks from the regtest target, they timeout on the buildds. - ---- a/tests/benchmark/Makefile.am -+++ b/tests/benchmark/Makefile.am -@@ -229,13 +229,10 @@ - done; \ - fi - --.PHONY: short_bench long_bench regtest -+.PHONY: short_bench long_bench - - short_bench: - ./run.sh short_bench_tests - - long_bench: - ./run.sh long_bench_tests -- --regtest: -- ./run.sh regression_tests ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -8,4 +8,3 @@ - cd benchmark && $(MAKE) $(AM_MAKEFLAGS) long_bench - regtest: - cd regression && $(MAKE) $(AM_MAKEFLAGS) regtest -- cd benchmark && $(MAKE) $(AM_MAKEFLAGS) regtest diff --git a/userspace-rcu.spec b/userspace-rcu.spec index 97a8d0c..7748757 100644 --- a/userspace-rcu.spec +++ b/userspace-rcu.spec @@ -1,12 +1,11 @@ Name: userspace-rcu Version: 0.10.1 -Release: 6 +Release: 7 Summary: Userspace read-copy-update library License: LGPLv2+ URL: http://liburcu.org Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2 -Patch0: regtest-without-bench.patch Patch6000: fix-compat_futex_noasync-on-Cygwin.patch Patch6001: fix-pthread_rwlock-initialization-on-Cygwin.patch Patch6002: test_rwlock-Add-per-thread-count-to-verbose-output.patch @@ -77,6 +76,12 @@ make regtest %changelog +* Wed Jan 8 2020 hewenliang - 0.10.1-7 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC: Enable benchmarks in regtest. + * Mon Aug 12 2019 hewenliang - 0.10.1-6 - Type:bugfix - ID:NA -- Gitee