aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_usdt_coinselection.py
diff options
context:
space:
mode:
authorwillcl-ark <will@256k1.dev>2023-10-09 14:38:37 +0100
committerwillcl-ark <will@256k1.dev>2023-10-09 21:01:38 +0100
commit4077e43bf62e5afe90d204b9ede9290ef54dee0f (patch)
treea56bc3768e0452be45720e3915917a1bf78a4acc /test/functional/interface_usdt_coinselection.py
parent62346bc394a4d1fd84069898dc3e4b98a712bf24 (diff)
test: fix usdt undeclared function errors on mantis
Recently usage of undeclared functions became an error rather than a warning, in C2x. https://reviews.llvm.org/D122983?id=420290 This change has migrated into the build tools of Ubuntu 23.10 which now causes the USDT tests to fail to compile, see https://github.com/bitcoin/bitcoin/issues/28600 Fix this by setting `-Wno-error=implicit-function-declaration` for the tracing programs.
Diffstat (limited to 'test/functional/interface_usdt_coinselection.py')
-rwxr-xr-xtest/functional/interface_usdt_coinselection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/interface_usdt_coinselection.py b/test/functional/interface_usdt_coinselection.py
index a3c830bb51..aff90ea5fc 100755
--- a/test/functional/interface_usdt_coinselection.py
+++ b/test/functional/interface_usdt_coinselection.py
@@ -166,7 +166,7 @@ class CoinSelectionTracepointTest(BitcoinTestFramework):
ctx.enable_probe(probe="coin_selection:normal_create_tx_internal", fn_name="trace_normal_create_tx")
ctx.enable_probe(probe="coin_selection:attempting_aps_create_tx", fn_name="trace_attempt_aps")
ctx.enable_probe(probe="coin_selection:aps_create_tx_internal", fn_name="trace_aps_create_tx")
- self.bpf = BPF(text=coinselection_tracepoints_program, usdt_contexts=[ctx], debug=0)
+ self.bpf = BPF(text=coinselection_tracepoints_program, usdt_contexts=[ctx], debug=0, cflags=["-Wno-error=implicit-function-declaration"])
self.log.info("Prepare wallets")
self.generate(self.nodes[0], 101)