updated turn restriction tests. use correct .osrm.restrictions file during tests. add tests for no-right-turn

This commit is contained in:
Emil Tin
2012-03-02 13:35:30 +01:00
parent 9fdb6eb2c5
commit b0ecb869f2
3 changed files with 230 additions and 58 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ def reprocess
unless prepared?
log_preprocess_info
log "== Preparing #{@osm_file}.osm...", :preprocess
unless system "../osrm-prepare #{@osm_file}.osrm #{@osm_file}.restrictions 1>>#{PREPROCESS_LOG_FILE} 2>>#{PREPROCESS_LOG_FILE}"
unless system "../osrm-prepare #{@osm_file}.osrm #{@osm_file}.osrm.restrictions 1>>#{PREPROCESS_LOG_FILE} 2>>#{PREPROCESS_LOG_FILE}"
log "*** Exited with code #{$?.exitstatus}.", :preprocess
raise "*** osrm-prepare exited with code #{$?.exitstatus}. The file preprocess.log might contain more info."
end