~robert-ancell/bake/namespace-libbake

« back to all changes in this revision

Viewing changes to tests/bake/test-bake.vala

  • Committer: Robert Ancell
  • Date: 2014-01-11 01:18:40 UTC
  • Revision ID: robert.ancell@canonical.com-20140111011840-31m66dwczvfq0qjd
Set library path when running tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
 
269
269
        /* Only run our special versions of the tools */
270
270
        Environment.set_variable ("PATH", "%s:%s/../../src:%s".printf (Environment.get_current_dir (), Environment.get_current_dir (), Environment.get_variable ("PATH")), true);
 
271
        Environment.set_variable ("LD_LIBRARY_PATH", "%s/../../src".printf (Environment.get_current_dir ()), true);
271
272
        Environment.set_variable ("BAKE_TEST_STATUS_SOCKET", status_socket_name, true);
272
273
        Environment.set_variable ("PKG_CONFIG_PATH", Path.build_filename (Environment.get_current_dir (), "pkg-config"), true);
273
274