dcavalca / rpms / qemu

Forked from rpms/qemu 10 months ago
Clone

Blame 0001-tests-Disable-iotests-like-RHEL-does.patch

f36b5b
From e4a112c75a02a789e7710e805f66211426087d55 Mon Sep 17 00:00:00 2001
f36b5b
Message-ID: <e4a112c75a02a789e7710e805f66211426087d55.1692544104.git.crobinso@redhat.com>
f36b5b
From: Cole Robinson <crobinso@redhat.com>
f36b5b
Date: Sun, 20 Aug 2023 10:49:12 -0400
f36b5b
Subject: [PATCH] tests: Disable iotests, like RHEL does
f36b5b
Content-type: text/plain
f36b5b
f36b5b
Signed-off-by: Cole Robinson <crobinso@redhat.com>
f36b5b
---
f36b5b
 tests/qemu-iotests/meson.build | 34 +++++++++++++++++-----------------
f36b5b
 1 file changed, 17 insertions(+), 17 deletions(-)
f36b5b
f36b5b
diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
f36b5b
index 44761e1e4d..78c5836325 100644
f36b5b
--- a/tests/qemu-iotests/meson.build
f36b5b
+++ b/tests/qemu-iotests/meson.build
f36b5b
@@ -51,21 +51,21 @@ foreach format, speed: qemu_iotests_formats
f36b5b
       check: true,
f36b5b
   )
f36b5b
 
f36b5b
-  foreach item: rc.stdout().strip().split()
f36b5b
-      args = [qemu_iotests_check_cmd,
f36b5b
-              '-tap', '-' + format, item,
f36b5b
-              '--source-dir', meson.current_source_dir(),
f36b5b
-              '--build-dir', meson.current_build_dir()]
f36b5b
-      # Some individual tests take as long as 45 seconds
f36b5b
-      # Bump the timeout to 3 minutes for some headroom
f36b5b
-      # on slow machines to minimize spurious failures
f36b5b
-      test('io-' + format + '-' + item,
f36b5b
-           python,
f36b5b
-           args: args,
f36b5b
-           depends: qemu_iotests_binaries,
f36b5b
-           env: qemu_iotests_env,
f36b5b
-           protocol: 'tap',
f36b5b
-           timeout: 180,
f36b5b
-           suite: suites)
f36b5b
-  endforeach
f36b5b
+#   foreach item: rc.stdout().strip().split()
f36b5b
+#       args = [qemu_iotests_check_cmd,
f36b5b
+#               '-tap', '-' + format, item,
f36b5b
+#               '--source-dir', meson.current_source_dir(),
f36b5b
+#               '--build-dir', meson.current_build_dir()]
f36b5b
+#       # Some individual tests take as long as 45 seconds
f36b5b
+#       # Bump the timeout to 3 minutes for some headroom
f36b5b
+#       # on slow machines to minimize spurious failures
f36b5b
+#       test('io-' + format + '-' + item,
f36b5b
+#            python,
f36b5b
+#            args: args,
f36b5b
+#            depends: qemu_iotests_binaries,
f36b5b
+#            env: qemu_iotests_env,
f36b5b
+#            protocol: 'tap',
f36b5b
+#            timeout: 180,
f36b5b
+#            suite: suites)
f36b5b
+#   endforeach
f36b5b
 endforeach
f36b5b
-- 
f36b5b
2.41.0
f36b5b