Fix make check with builddir != srcdir

This broke when the tests were converted to be installable.
My apologies.
This commit is contained in:
Matthias Clasen
2013-05-27 21:20:10 -04:00
parent 4ec32e6fa8
commit 98a921045c
10 changed files with 32 additions and 22 deletions

View File

@@ -924,7 +924,7 @@ main (int argc,
if (g_getenv ("G_TEST_DATA"))
binpath = g_getenv ("G_TEST_DATA");
else
binpath = ".";
binpath = BUILDDIR;
g_test_init (&argc, &argv, NULL);