[neon/backports-focal/xdg-desktop-portal/Neon/unstable] tests: tests: Print the full paths of what we're trying to run

Bastien Nocera null at kde.org
Wed Jan 13 06:32:43 GMT 2021


Git commit 98551b45f77eac1538786f9843bf9c93fd2cd631 by Bastien Nocera.
Committed on 22/04/2020 at 14:15.
Pushed by ash into branch 'Neon/unstable'.

tests: Print the full paths of what we're trying to run

Instead of simply the name, so that we can double-check the paths just
in case we fail.

M  +2    -2    tests/test-portals.c

https://invent.kde.org/neon/backports-focal/xdg-desktop-portal/commit/98551b45f77eac1538786f9843bf9c93fd2cd631

diff --git a/tests/test-portals.c b/tests/test-portals.c
index 728af1a..ec740aa 100644
--- a/tests/test-portals.c
+++ b/tests/test-portals.c
@@ -168,7 +168,7 @@ global_setup (void)
   argv[1] = g_test_verbose () ? "--verbose" : NULL;
   argv[2] = NULL;
 
-  g_print ("launching xdg-desktop-portal\n");
+  g_print ("launching %s\n", argv0);
 
   portals = g_subprocess_launcher_spawnv (launcher, argv, &error);
   g_assert_no_error (error);
@@ -209,7 +209,7 @@ global_setup (void)
   argv[2] = g_test_verbose () ? "--verbose" : NULL;
   argv[3] = NULL;
 
-  g_print ("launching xdg-permission-store");
+  g_print ("launching %s\n", argv0);
 
   portals = g_subprocess_launcher_spawnv (launcher, argv, &error);
   g_assert_no_error (error);



More information about the Neon-commits mailing list