[glib/wip/3v1n0/support-can-fail-tests] fixup! fixup! meson: Support tests that can fail under certain conditions



commit 7f789e3d188151b3a094006e9891a56d55d1dac5
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Oct 20 00:00:06 2022 +0200

    fixup! fixup! meson: Support tests that can fail under certain conditions

 gio/tests/meson.build     | 2 +-
 glib/tests/meson.build    | 4 ++--
 gobject/tests/meson.build | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index 0d62139a2e..4dd3fb6873 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -960,7 +960,7 @@ foreach test_name, extra_args : python_tests
 
   if extra_args.get('can_fail', false)
     depends += [exe]
-    args = [ timeout.to_string(), exe ] + args
+    args = [ timeout.to_string(), exe.full_path() ] + args
     exe = flaky_test_runner
     timeout = -1
   endif
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index 92995c9d20..509b0fcb9a 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -302,7 +302,7 @@ foreach test_name, extra_args : glib_tests
 
   if extra_args.get('can_fail', false)
     depends += [exe]
-    args = [ timeout.to_string(), exe ] + args
+    args = [ timeout.to_string(), exe.full_path() ] + args
     exe = flaky_test_runner
     timeout = -1
   endif
@@ -347,7 +347,7 @@ foreach test_name, extra_args : python_tests
 
   if extra_args.get('can_fail', false)
     depends += [exe]
-    args = [ timeout.to_string(), exe ] + args
+    args = [ timeout.to_string(), exe.full_path() ] + args
     exe = flaky_test_runner
     timeout = -1
   endif
diff --git a/gobject/tests/meson.build b/gobject/tests/meson.build
index 4577f9b93f..b0b5c8f465 100644
--- a/gobject/tests/meson.build
+++ b/gobject/tests/meson.build
@@ -178,7 +178,7 @@ foreach test_name, extra_args : gobject_tests
 
   if extra_args.get('can_fail', false)
     depends += [exe]
-    args = [ timeout.to_string(), exe ] + args
+    args = [ timeout.to_string(), exe.full_path() ] + args
     exe = flaky_test_runner
     timeout = -1
   endif
@@ -199,7 +199,7 @@ foreach test_name, extra_args : python_tests
 
   if extra_args.get('can_fail', false)
     depends += [exe]
-    args = [ timeout.to_string(), exe ] + args
+    args = [ timeout.to_string(), exe.full_path() ] + args
     exe = flaky_test_runner
     timeout = -1
   endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]