core-lightning/plugins/bkpr/test/Makefile
niftynei e048292fdf bkpr-zeroconf: Zeroconfs will emit 'channel_proposed' event
Keep the accounts as an 'append only' log, instead we move the marker
for the 'channel_open' forward when a 'channel_open' comes out.

We also neatly hide the 'channel_proposed' events in 'inspect' if
there's a 'channel_open' for that same event.

If you call inspect before the 'channel_open' is confirmed, you'll see
the tag as 'channel_proposed', afterwards it shows up as
'channel_open'. However the event log rolls forward -- listaccountevents
will show the correct history of the proposal then open confirming (plus
any routing that happened before the channel confirmed).
2022-07-28 12:08:18 +09:30

37 lines
1.0 KiB
Makefile

BOOKKEEPER_TEST_SRC := $(wildcard plugins/bkpr/test/run-*.c)
BOOKKEEPER_TEST_OBJS := $(BOOKKEEPER_TEST_SRC:.c=.o)
BOOKKEEPER_TEST_PROGRAMS := $(BOOKKEEPER_TEST_OBJS:.o=)
ALL_C_SOURCES += $(BOOKKEEPER_TEST_SRC)
ALL_TEST_PROGRAMS += $(BOOKKEEPER_TEST_PROGRAMS)
BOOKKEEPER_TEST_COMMON_OBJS := \
common/amount.o \
common/autodata.o \
common/base32.o \
common/blockheight_states.o \
common/channel_type.o \
common/coin_mvt.o \
common/features.o \
common/json_stream.o \
common/key_derive.o \
common/memleak.o \
common/node_id.o \
common/setup.o \
common/timeout.o \
common/type_to_string.o \
common/utils.o \
common/version.o \
db/bindings.o \
db/db_sqlite3.o \
db/exec.o \
db/utils.o \
plugins/bkpr/account.o \
plugins/bkpr/db_sqlite3_sqlgen.o \
plugins/bkpr/recorder.o
$(BOOKKEEPER_TEST_PROGRAMS): $(BITCOIN_OBJS) $(BOOKKEEPER_TEST_COMMON_OBJS)
$(BOOKKEEPER_TEST_OBJS): $(BOOKKEEPER_HEADER) $(BOOKKEEPER_SRC) $(BOOKKEEPER_TEST_COMMON_OBJS)
check-units: $(BOOKKEEPER_TEST_PROGRAMS:%=unittest/%)