-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Does not run the nodejs tests in sanitized builds. We'd have to export LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libasan.so.2' the asan lib. But it seems like our Clang from mason does not like the system's libasan. Also we'd need a suppression file for v8 and node.
- Loading branch information
1 parent
e568b60
commit 70b3962
Showing
13 changed files
with
272 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
var path = require('path'); | ||
|
||
// Constants and fixtures for nodejs tests on our Monaco dataset. | ||
|
||
// Somewhere in Monaco | ||
// http://www.openstreetmap.org/#map=18/43.73185/7.41772 | ||
exports.three_test_coordinates = [[7.41337, 43.72956], | ||
[7.41546, 43.73077], | ||
[7.41862, 43.73216]]; | ||
|
||
exports.two_test_coordinates = exports.three_test_coordinates.slice(0, 2) | ||
|
||
exports.test_tile = {'at': [17059, 11948, 15], 'size': 114000}; | ||
|
||
|
||
// Test files generated by the routing engine; check test/data | ||
if (process.env.OSRM_DATA_PATH !== undefined) { | ||
exports.data_path = path.join(path.resolve(process.env.OSRM_DATA_PATH), "ch/monaco.osrm"); | ||
exports.mld_data_path = path.join(path.resolve(process.env.OSRM_DATA_PATH), "mld/monaco.osrm"); | ||
exports.corech_data_path = path.join(path.resolve(process.env.OSRM_DATA_PATH), "corech/monaco.osrm"); | ||
console.log('Setting custom data path to ' + exports.data_path); | ||
} else { | ||
exports.data_path = path.resolve(path.join(__dirname, "../data/ch/monaco.osrm")); | ||
exports.mld_data_path = path.resolve(path.join(__dirname, "../data/mld/monaco.osrm")); | ||
exports.corech_data_path = path.resolve(path.join(__dirname, "../data/corech/monaco.osrm")); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.