aboutsummaryrefslogtreecommitdiff
path: root/libplanfahr/tests/lpf-trip.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-05-07 09:44:42 +0200
committerGuido Günther <agx@sigxcpu.org>2015-05-07 09:47:12 +0200
commitea66ff6027b8f6a14da274a840f57fcd3bfb6556 (patch)
treebd44cc8430ed3c8cb6f42527e098364fcd1c6a71 /libplanfahr/tests/lpf-trip.c
parentcec047a8d388f1e5d550780b744672dfd00b8fe8 (diff)
Use builddir to locate the built providers during tests
This fixes "make distcheck"
Diffstat (limited to 'libplanfahr/tests/lpf-trip.c')
-rw-r--r--libplanfahr/tests/lpf-trip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libplanfahr/tests/lpf-trip.c b/libplanfahr/tests/lpf-trip.c
index 563bdd1..1dcd740 100644
--- a/libplanfahr/tests/lpf-trip.c
+++ b/libplanfahr/tests/lpf-trip.c
@@ -103,7 +103,7 @@ int main(int argc, char **argv)
gboolean ret;
g_test_init (&argc, &argv, NULL);
- g_setenv(LPF_PROVIDERS_ENV, LPF_TEST_SRCDIR "/../providers/.libs/", TRUE);
+ g_setenv(LPF_PROVIDERS_ENV, LPF_TEST_BUILDDIR "/../providers/.libs/", TRUE);
g_test_add ("/libplanfahr/lpf-trip", TestFixture, NULL,
fixture_setup, test_lpf_trip, fixture_teardown);