commit cf2667156d3a7553175accfbf0559f2afbccdddf
Author: Uwe Klotz <uwe.klotz(a)gmail.com>
Date: Thu Jan 18 01:44:32 2024 +0100
Disable unreliable tests for all architectures (update)
mixxx.spec | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/mixxx.spec b/mixxx.spec
index 235e1a0..dbc64bd 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -173,6 +173,10 @@ rm -rf \
%check
+# TODO: Enable EngineBufferE2ETest after spurious failures have been resolved.
+# TODO: Enable LoopingControlTest after spurious failures have been resolved.
+%global ctest_exclude_regex EngineBufferE2ETest|LoopingControlTest
+
%ifarch x86_64
%global ctest_timeout_secs 180
%endif
@@ -181,7 +185,7 @@ rm -rf \
# the failing tests has been found and fixed.
%ifarch %{arm32} %{arm64}
%global ctest_timeout_secs 300
- %global ctest_exclude_regex setValue_IgnoresNaN|setParameter_NaN
+ %global ctest_exclude_regex
%{?ctest_exclude_regex:%{ctest_exclude_regex}|}setValue_IgnoresNaN|setParameter_NaN
%endif
%ifarch %{power64}
@@ -189,12 +193,10 @@ rm -rf \
%endif
# Run tests
-# TODO: Enable EngineBufferE2ETest after spurious failures have been resolved.
-# TODO: Enable LoopingControlTest after spurious failures have been resolved.
%if "%{?ctest_exclude_regex}" == ""
- %ctest --timeout %ctest_timeout_secs --exclude-regex
"EngineBufferE2ETest|LoopingControlTest"
+ %ctest --timeout %ctest_timeout_secs
%else
- %ctest --timeout %ctest_timeout_secs --exclude-regex
"%ctest_exclude_regex|EngineBufferE2ETest|LoopingControlTest"
+ %ctest --timeout %ctest_timeout_secs --exclude-regex "%ctest_exclude_regex"
%endif
# Validate AppStream data