osrm-backend/unit_tests
Matthew Wigginton Bhagat-Conway d6afe91d8f
print tracebacks and line numbers for Lua runtime errors (#6564)
* print tracebacks and line numbers for Lua runtime errors

* revert format changes

* update changelog with lua traceback, #6564

* revert using protected_function for old GetStringListFromFunction and source_function #6564

* add unit test for line numbers in tracebacks, #6564

* apply clang-format (#6564)

* remove unused test helper function, #6564

* suppress leaksanitizer warnings in extract-tests, #6564

When the extractor encounters a lua runtime error, some osmium objects are not freed. In production this doesn't matter because these errors bring down OSRM. In the tests we catch them to ensure they occur, and the leaksanitizer flags them.
2023-03-23 19:18:58 +01:00
..
common Enable more clang-tidy checks. (#6270) 2022-06-30 14:32:12 +01:00
contractor Fix formatting 2022-12-20 18:00:11 +01:00
customizer Make edge metrics strongly typed (#6421) 2022-10-28 15:16:12 +01:00
engine Fix formatting 2022-12-20 18:00:11 +01:00
extractor Make edge metrics strongly typed (#6421) 2022-10-28 15:16:12 +01:00
fixtures 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
library print tracebacks and line numbers for Lua runtime errors (#6564) 2023-03-23 19:18:58 +01:00
mocks Fix formatting 2022-12-20 18:00:11 +01:00
partitioner Make edge metrics strongly typed (#6421) 2022-10-28 15:16:12 +01:00
server Fix formatting 2022-12-20 18:00:11 +01:00
storage Use <boost/iterator/function_output_iterator.hpp> instead of deprecated <boost/function_output_iterator.hpp> (#6458) 2022-11-16 21:09:54 +01:00
updater Enable all unit tests (#5248) 2021-10-22 22:10:25 +01:00
util fix(json_render): json_render is not accurate enough for extremely sm… (#6531) 2023-02-02 18:58:25 +01:00
CMakeLists.txt Make osrm-routed optional (#6144) 2021-10-08 17:06:55 +01:00
contractor_tests.cpp Implement exclude flags on CH using shared core 2017-09-01 21:26:00 +02:00
customizer_tests.cpp Move customizer tests to own unit 2017-03-13 23:04:45 +00:00
engine_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00
extractor_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00
library_tests.cpp Library tests build system integration 2016-04-05 22:58:32 +02:00
partitioner_tests.cpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
server_tests.cpp Add viaroute suport for new API 2016-04-05 22:58:32 +02:00
storage_tests.cpp First step towards reading/writing tar 2018-03-26 11:02:03 +00:00
updater_tests.cpp Refactor isThroughStreet/Intersection options (#4751) 2018-01-19 13:49:00 -05:00
util_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00