mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
More test fixes for builddir != srcdir
This commit is contained in:
parent
98a921045c
commit
4c9a7b65eb
@ -8,6 +8,7 @@ AM_CPPFLAGS = \
|
||||
$(gmodule_INCLUDES) \
|
||||
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
||||
-DG_LOG_DOMAIN=\"GLib\" \
|
||||
-DSRCDIR=\"$(srcdir)\" \
|
||||
$(GLIB_DEBUG_FLAGS)
|
||||
|
||||
AM_CFLAGS = -g
|
||||
|
@ -69,7 +69,7 @@ gint main (gint argc, gchar * argv[])
|
||||
if (g_getenv ("G_TEST_DATA"))
|
||||
datapath = g_getenv ("G_TEST_DATA");
|
||||
else
|
||||
datapath = ".";
|
||||
datapath = SRCDIR;
|
||||
|
||||
filename = g_build_filename (datapath, "iochannel-test-infile", NULL);
|
||||
|
||||
|
@ -24,7 +24,7 @@ int main (int argc, char **argv)
|
||||
if (g_getenv ("G_TEST_DATA"))
|
||||
srcdir = g_getenv ("G_TEST_DATA");
|
||||
else
|
||||
srcdir = ".";
|
||||
srcdir = SRCDIR;
|
||||
|
||||
filename = g_strconcat (srcdir, G_DIR_SEPARATOR_S, "casemap.txt", NULL);
|
||||
|
||||
|
@ -324,7 +324,7 @@ main (int argc, char **argv)
|
||||
if (g_getenv ("G_TEST_DATA"))
|
||||
srcdir = g_getenv ("G_TEST_DATA");
|
||||
else
|
||||
srcdir = ".";
|
||||
srcdir = SRCDIR;
|
||||
|
||||
testfile = g_strconcat (srcdir, G_DIR_SEPARATOR_S "utf8.txt", NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user