From 0687fecf0d0153065fa8923a7a5b60784c271f65 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 11 Apr 2023 06:57:45 +0930 Subject: [PATCH] make: Use the CLN_PLUGIN_EXAMPLES variable for testbin Listing things multiple times is error-prone, so use the variable we already have :-) --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b1814c3f71e4..a5da85b84d87 100644 --- a/Makefile +++ b/Makefile @@ -811,8 +811,7 @@ install: install-program install-data # phase. If you get a missing file/executable while testing on CI it # is likely missing from this variable. TESTBINS = \ - target/${RUST_PROFILE}/examples/cln-rpc-getinfo \ - target/${RUST_PROFILE}/examples/cln-plugin-startup \ + $(CLN_PLUGIN_EXAMPLES) \ tests/plugins/test_libplugin \ tests/plugins/test_selfdisable_after_getmanifest \ tools/hsmtool