From d71c555c6c979de8194a7a7ca02ae1615944bd26fb6b5cfe52a55b74abbd2d2d Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 27 May 2024 15:23:00 +0000 Subject: [PATCH] PoC for running tests multiple times OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=124 --- chrony.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrony.spec b/chrony.spec index 1f4e37a..7e24c64 100644 --- a/chrony.spec +++ b/chrony.spec @@ -297,6 +297,11 @@ find %{buildroot} -type f | xargs sed -i ' export CLKNETSIM_RANDOM_SEED=24501 export CFLAGS="%{optflags}" make %{?_smp_mflags} -C test/simulation/clknetsim +cd test/simulation +for i in $(seq 20); do + ./124-tai &> /dev/null && break +done +exit 1 make %{?_smp_mflags} quickcheck %endif %endif