userspace-rcu:Enable the benchmark in regtest.

Enable the benchmark in regtest.

Signed-off-by: EulerOSWander <314264452@qq.com>
This commit is contained in:
EulerOSWander 2020-01-08 10:49:06 +08:00
parent 92e17ba381
commit c8c404012b
2 changed files with 7 additions and 28 deletions

View File

@ -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

View File

@ -1,12 +1,11 @@
Name: userspace-rcu Name: userspace-rcu
Version: 0.10.1 Version: 0.10.1
Release: 6 Release: 7
Summary: Userspace read-copy-update library Summary: Userspace read-copy-update library
License: LGPLv2+ License: LGPLv2+
URL: http://liburcu.org URL: http://liburcu.org
Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2 Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
Patch0: regtest-without-bench.patch
Patch6000: fix-compat_futex_noasync-on-Cygwin.patch Patch6000: fix-compat_futex_noasync-on-Cygwin.patch
Patch6001: fix-pthread_rwlock-initialization-on-Cygwin.patch Patch6001: fix-pthread_rwlock-initialization-on-Cygwin.patch
Patch6002: test_rwlock-Add-per-thread-count-to-verbose-output.patch Patch6002: test_rwlock-Add-per-thread-count-to-verbose-output.patch
@ -77,6 +76,12 @@ make regtest
%changelog %changelog
* Wed Jan 8 2020 hewenliang<hewenliang4@huawei.com> - 0.10.1-7
- Type:bugfix
- ID:NA
- SUG:restart
- DESC: Enable benchmarks in regtest.
* Mon Aug 12 2019 hewenliang<hewenliang4@huawei.com> - 0.10.1-6 * Mon Aug 12 2019 hewenliang<hewenliang4@huawei.com> - 0.10.1-6
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA