Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] support/testing: octave: increase test timeout
@ 2022-08-07 16:55 Julien Olivain
  2022-08-07 16:55 ` [Buildroot] [PATCH 2/2] package/octave: bump to version 7.2.0 Julien Olivain
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Julien Olivain @ 2022-08-07 16:55 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

Octave package test can occasionally fail due to timeout.
This commit slightly increase timeout values to reduce those failures.

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 support/testing/tests/package/test_octave.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/testing/tests/package/test_octave.py b/support/testing/tests/package/test_octave.py
index 82a70e09c2..2d808e0cca 100644
--- a/support/testing/tests/package/test_octave.py
+++ b/support/testing/tests/package/test_octave.py
@@ -34,6 +34,7 @@ class TestOctave(infra.basetest.BRTest):
                            kernel=kern,
                            kernel_cmdline=["console=ttyAMA0"],
                            options=["-M", "virt", "-cpu", "cortex-a57", "-m", "512M", "-initrd", img])
+        self.emulator.timeout_multiplier *= 2
         self.emulator.login()
 
         # Check Euler identity
@@ -76,4 +77,4 @@ class TestOctave(infra.basetest.BRTest):
 
         for mod in octave_modules:
             cmd = self.octave_cmd('assert(test(\"{}\"),true)'.format(mod))
-            self.assertRunOk(cmd)
+            self.assertRunOk(cmd, timeout=10)
-- 
2.37.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-14 22:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-07 16:55 [Buildroot] [PATCH 1/2] support/testing: octave: increase test timeout Julien Olivain
2022-08-07 16:55 ` [Buildroot] [PATCH 2/2] package/octave: bump to version 7.2.0 Julien Olivain
2022-08-07 17:32   ` Thomas Petazzoni via buildroot
2022-08-07 17:22 ` [Buildroot] [PATCH 1/2] support/testing: octave: increase test timeout Thomas Petazzoni via buildroot
2022-08-08 20:06   ` Julien Olivain
2022-08-08 20:14 ` [Buildroot] [PATCH v2 1/1] " Julien Olivain
2022-08-08 21:08   ` Thomas Petazzoni via buildroot
2022-09-14 22:19 ` [Buildroot] [PATCH 1/2] " Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox