mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Some final g_test_build_filename() porting
This should be the last users that need to be ported. For some of the oldschool non-gtester-ified tests, we call g_test_init() from main() because it is necessary in order to use g_test_build_filename().
This commit is contained in:
@@ -13,7 +13,7 @@ main (int argc, char *argv[])
|
||||
g_assert_cmpint (pid_from_env, ==, getpid ());
|
||||
|
||||
envvar = g_getenv ("GIO_LAUNCHED_DESKTOP_FILE");
|
||||
g_assert_cmpstr (envvar, ==, SRCDIR "/appinfo-test.desktop");
|
||||
g_assert_cmpstr (envvar, ==, g_test_get_filename (G_TEST_DIST, "appinfo-test.desktop", NULL));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user