cln/common/test
Rusty Russell 15ef2fd39c Build: don't use HAVE_FUNCTION_SECTIONS for update-mocks.
I ran `uv run make update-mocks` and many mocks vanished.  But that
broke MacOS (and maybe other archs) which doesn't support function
sections and no longer linked.

If this proves problematic, we might end up generating mocks properly:
1. Use #include "mocks-sphinx-xor_cipher_stream_gen.c"
2. Generate those separate files as necessary.
3. Don't commit them, build them locally.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-02-23 19:05:37 +10:30
..
Makefile common: move gossip_store_wire.csv into common/ from gossipd/ 2026-02-16 17:23:33 +10:30
onion-test-v0.json sphinx: Introduce a runtest command to the onion tool 2019-07-30 02:14:49 +00:00
run-amount.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-base64.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bigsize.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-blindedpath_enctlv.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-blindedpath_onion.c common: provide readable explanation when onion payload is invalid. 2024-11-20 12:29:27 +01:00
run-bolt11.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12-encode-test.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12-format-string-test.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12-offer-decode.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_decode.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_merkle-json.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_merkle.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_period.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-channel_type.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-codex32.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-coin_mvt.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-cryptomsg.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-deprecation.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-derive_basepoints.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-features.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-gossmap-fp16.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-gossmap_canned.c gossmap: add callback for gossipd to see dying messages. 2026-02-16 17:23:33 +10:30
run-gossmap_local.c gossmap: add callback for gossipd to see dying messages. 2026-02-16 17:23:33 +10:30
run-htable.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-ip_port_parsing.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
run-json_filter.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json_remove.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json_scan.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json_stream-filter.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-jsonrpc_io.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-key_derive.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-lease_rates.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-marginal_feerate.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-onion-message-test.c common: sphinx_path_new to take explicit len. 2024-11-18 11:03:26 +10:30
run-onion-test-vector.c ccan: update to get improved grab_file API, and adapt code. 2025-10-26 12:37:58 +10:30
run-param.c common: fix ubsan trigger in param test. 2026-01-07 09:42:11 +10:30
run-psbt_diff.c pseudorand: make the results in deterministic mode per-caller. 2025-11-13 21:21:29 +10:30
run-route-infloop.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-route-specific.c common: move gossip_store_wire.csv into common/ from gossipd/ 2026-02-16 17:23:33 +10:30
run-route.c common: move gossip_store_wire.csv into common/ from gossipd/ 2026-02-16 17:23:33 +10:30
run-route_blinding_onion_test.c ccan: update to get improved grab_file API, and adapt code. 2025-10-26 12:37:58 +10:30
run-route_blinding_test.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
run-shutdown_scriptpubkey.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-sphinx-xor_cipher_stream.c Build: don't use HAVE_FUNCTION_SECTIONS for update-mocks. 2026-02-23 19:05:37 +10:30
run-sphinx.c common: provide readable explanation when onion payload is invalid. 2024-11-20 12:29:27 +01:00
run-splice_script.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-tal_arr_randomize.c common: add amount_feerate helper. 2023-11-01 14:11:28 +10:30
run-tlv_span.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-tlv_unknown.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-trace.c common/test/run-trace: increase iterations for trivial benchmarking. 2025-04-23 13:45:18 +09:30
run-version.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-wireaddr.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30