mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-13 12:32:55 +02:00
update-mocks searches for prototypes, looking first in the local directory, then in */*.h, and takes the first. In the case of plugins/bkpr/test/run-currencyrate_str.c referring to jsonrpc_request_start_, this means it could get either the one in libplugin (correct) or the one in lightningd (wrong!), depending on directory order randomness. Hack it a bit harder, to look one up from the local dir before */*.h. This is redundant in most cases, but not for three-deep-nested dirs like this. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| run-currencyrate_str.c | ||
| run-format_event.c | ||
| run-parse_report.c | ||
| run-recorder.c | ||
| run-sql.c | ||
| test_utils.h | ||