tests/acceptance: Disable the rx sash and arm cubieboard replay test on Gitlab
authorThomas Huth <thuth@redhat.com>
Thu, 23 Jul 2020 06:36:04 +0000 (08:36 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 5 Aug 2020 08:38:27 +0000 (10:38 +0200)
These tests always time out on Gitlab, not sure what's happening here.
Let's disable them until somebody has enough spare time to debug the
issues.

Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20200730141326.8260-3-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/acceptance/machine_rx_gdbsim.py
tests/acceptance/replay_kernel.py

index bff63e421d54919fa6bf98c781fc0c0ecfcde66c..0c72506028030da6d96360f1dbf624ada664ae99 100644 (file)
@@ -8,6 +8,9 @@
 # This work is licensed under the terms of the GNU GPL, version 2 or
 # later.  See the COPYING file in the top-level directory.
 
+import os
+
+from avocado import skipIf
 from avocado_qemu import Test
 from avocado_qemu import exec_command_and_wait_for_pattern
 from avocado_qemu import wait_for_console_pattern
@@ -42,6 +45,7 @@ class RxGdbSimMachine(Test):
         # FIXME limit baudrate on chardev, else we type too fast
         #exec_command_and_wait_for_pattern(self, 'version', gcc_version)
 
+    @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
     def test_linux_sash(self):
         """
         Boots a Linux kernel and checks that the console is operational.
index 62d2db8c64bebfe1bbb68c9281efdd7f07f8ab54..b79fc8daf8e22a845046a0ac9eb00a1ab0d84261 100644 (file)
@@ -126,6 +126,7 @@ class ReplayKernel(LinuxKernelTest):
 
         self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=1)
 
+    @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
     def test_arm_cubieboard_initrd(self):
         """
         :avocado: tags=arch:arm