Run test suite in %check and disable in %build
This commit is contained in:
parent
561fcd29a1
commit
e8ded4084d
@ -72,7 +72,7 @@
|
|||||||
Name: cjdns
|
Name: cjdns
|
||||||
# major version is cjdns protocol version:
|
# major version is cjdns protocol version:
|
||||||
Version: 20.3
|
Version: 20.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: The privacy-friendly network without borders
|
Summary: The privacy-friendly network without borders
|
||||||
# cjdns is all GPLv3 except libuv which is MIT and BSD and ISC
|
# cjdns is all GPLv3 except libuv which is MIT and BSD and ISC
|
||||||
# cnacl is unused except when use_embedded is true
|
# cnacl is unused except when use_embedded is true
|
||||||
@ -348,7 +348,7 @@ export Seccomp_NO=1
|
|||||||
%if %{with subnode}
|
%if %{with subnode}
|
||||||
export SUBNODE=1
|
export SUBNODE=1
|
||||||
%endif
|
%endif
|
||||||
CJDNS_RELEASE_VERSION="%{name}-%{version}-%{release}" ./do
|
NO_TEST=1 CJDNS_RELEASE_VERSION="%{name}-%{version}-%{release}" ./do
|
||||||
|
|
||||||
# FIXME: use system libuv on compatible systems
|
# FIXME: use system libuv on compatible systems
|
||||||
# bundled libuv is 0.11.19 with changes:
|
# bundled libuv is 0.11.19 with changes:
|
||||||
@ -356,6 +356,7 @@ CJDNS_RELEASE_VERSION="%{name}-%{version}-%{release}" ./do
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# test suite is executed in %%build
|
# test suite is executed in %%build
|
||||||
|
build_linux/test_testcjdroute_c all >test.out
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?rhel} == 5
|
%if 0%{?rhel} == 5
|
||||||
@ -606,6 +607,9 @@ fi
|
|||||||
%{_bindir}/graphStats
|
%{_bindir}/graphStats
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 09 2019 Stuart Gathman <stuart@gathman.org> - 20.3-3
|
||||||
|
- Move running test suite to check
|
||||||
|
|
||||||
* Wed May 08 2019 Stuart Gathman <stuart@gathman.org> - 20.3-2
|
* Wed May 08 2019 Stuart Gathman <stuart@gathman.org> - 20.3-2
|
||||||
- Increase timeout for fuzz tests to allow slower arches to succeed
|
- Increase timeout for fuzz tests to allow slower arches to succeed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user