osrm-backend/features
Dane Springmeyer 6eebb1c089 Support passing OSRM_SHARED_LIBRARY_PATH env variable for cucumber tests
The need for this is that:

  - On OS X if libraries are stored in custom locations (not /usr/lib or /usr/local)
    and they do not embed an rpath (which is common to not have) then the developer
    needs to set DYLD_LIBRARY_PATH to ensure that osrm tools can find dependent libraries
    at runtime (this is normal and common).
  - But as of OS X > 10.11 DYLD_LIBRARY_PATH no longer is inherited. While it works in
    the main shell when running a command like `osrm-extract` you will find that when
    `osrm-extract` is run by cucumber (ruby child process) then DYLD_LIBRARY_PATH
    is blocked and the command cannot start.
  - So, this introduces the ability to pass in a variable that the cucumber tests will
    understand and can manually forward along to ensure that DYLD_LIBRARY_PATH is respected
    where it counts.

The intended usage of this is therefore:

    # set the environment variable
    export OSRM_SHARED_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
    # then run cucumber tests
    cucumber -p verify
2016-02-11 02:43:51 +01:00
..
bicycle Make an exception for block barriers in bicycle and foot profile. 2015-09-07 12:23:21 +02:00
car Add test for car mode snapping 2015-12-16 22:03:46 +01:00
foot Make an exception for block barriers in bicycle and foot profile. 2015-09-07 12:23:21 +02:00
nearest Move nodes inside the search radius 2015-05-15 00:34:53 +02:00
options Add max values for viaroute and trip and reorganize return code handling 2015-12-17 04:14:34 +01:00
raster Implement raster source feature to read data from third-party sources, to be used in lua profiles. 2015-09-03 22:28:18 -07:00
step_definitions Disable via test that fails on OSX so that we can test everything else on Travis on OSX. 2016-01-06 14:42:31 -08:00
stress cleanup indentation of cuke files 2013-08-29 19:29:13 +02:00
support Support passing OSRM_SHARED_LIBRARY_PATH env variable for cucumber tests 2016-02-11 02:43:51 +01:00
testbot Fixes Alternative Routing when including loops 2016-01-28 16:33:07 +01:00
timestamp cleanup indentation of cuke files 2013-08-29 19:29:13 +02:00