set OSRM_PROFILE to force profile when running cuke tests

This commit is contained in:
Emil Tin
2017-09-18 16:18:07 +02:00
committed by Patrick Niklaus
parent dba825d829
commit 999211ed9c
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = function () {
});
this.BeforeFeature((feature, callback) => {
this.profile = this.DEFAULT_PROFILE;
this.profile = this.OSRM_PROFILE || this.DEFAULT_PROFILE;
this.profileFile = path.join(this.PROFILES_PATH, this.profile + '.lua');
this.setupFeatureCache(feature);
callback();