Add %ctest timeout on riscv64
Since our riscv64 builders are slow at the moment some tests fail with timeouts, eg: https://src.fedoraproject.org/rpms/kokkos/pull-request/11 Adding the --timeout flag on riscv64 only increases the timeout and makes the tests pass. Adding this centrally makes it easier to remove it later once faster hardware becomes widely available. Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
parent
815f5fcb16
commit
8d718fa234
@ -44,7 +44,13 @@
|
||||
DESTDIR="%{buildroot}" %__cmake --install "%{__cmake_builddir}"
|
||||
|
||||
%ctest(:-:h:j:u:v:A:C:D:E:F:H:I:L:M:N:O:Q:R:S:T:U:V:) \
|
||||
%__ctest --test-dir "%{__cmake_builddir}" --output-on-failure --force-new-ctest-process %{?_smp_mflags} %{**}
|
||||
%__ctest --test-dir "%{__cmake_builddir}" \\\
|
||||
--output-on-failure \\\
|
||||
--force-new-ctest-process \\\
|
||||
%ifarch riscv64 \
|
||||
--timeout 6000 \\\
|
||||
%endif \
|
||||
%{?_smp_mflags} %{**}
|
||||
|
||||
|
||||
%cmake@@CMAKE_MAJOR_VERSION@@ %cmake
|
||||
|
Loading…
Reference in New Issue
Block a user