2017-12-12 04:42:37 +01:00
|
|
|
WALLET_TEST_SRC := $(wildcard wallet/test/run-*.c)
|
|
|
|
WALLET_TEST_OBJS := $(WALLET_TEST_SRC:.c=.o)
|
|
|
|
WALLET_TEST_PROGRAMS := $(WALLET_TEST_OBJS:.o=)
|
|
|
|
|
2020-08-31 03:13:25 +02:00
|
|
|
ALL_C_SOURCES += $(WALLET_TEST_SRC)
|
|
|
|
ALL_TEST_PROGRAMS += $(WALLET_TEST_PROGRAMS)
|
|
|
|
|
2018-02-05 05:09:27 +01:00
|
|
|
WALLET_TEST_COMMON_OBJS := \
|
2019-02-21 04:45:55 +01:00
|
|
|
common/amount.o \
|
2021-09-21 09:23:10 +02:00
|
|
|
common/autodata.o \
|
2018-05-10 01:18:19 +02:00
|
|
|
common/base32.o \
|
2021-06-22 20:25:59 +02:00
|
|
|
common/blockheight_states.o \
|
2021-09-09 07:29:35 +02:00
|
|
|
common/channel_type.o \
|
2018-07-23 04:23:02 +02:00
|
|
|
common/derive_basepoints.o \
|
2021-09-09 07:29:35 +02:00
|
|
|
common/features.o \
|
2017-12-12 04:42:37 +01:00
|
|
|
common/htlc_state.o \
|
2018-09-04 09:02:35 +02:00
|
|
|
common/htlc_wire.o \
|
2019-12-12 18:18:25 +01:00
|
|
|
common/fee_states.o \
|
2017-12-12 04:42:37 +01:00
|
|
|
common/type_to_string.o \
|
2017-12-15 14:26:06 +01:00
|
|
|
common/memleak.o \
|
2019-04-08 11:58:32 +02:00
|
|
|
common/node_id.o \
|
2020-01-23 00:38:04 +01:00
|
|
|
common/onionreply.o \
|
2018-03-07 01:06:07 +01:00
|
|
|
common/key_derive.o \
|
2023-07-27 07:13:56 +02:00
|
|
|
common/psbt_keypath.o \
|
2017-12-12 04:42:37 +01:00
|
|
|
common/pseudorand.o \
|
2020-05-16 00:13:22 +02:00
|
|
|
common/setup.o \
|
2018-01-23 02:02:10 +01:00
|
|
|
common/timeout.o \
|
2017-12-12 04:42:37 +01:00
|
|
|
common/utils.o \
|
2022-11-08 16:06:55 +01:00
|
|
|
common/utxo.o \
|
2018-02-05 05:09:27 +01:00
|
|
|
common/wireaddr.o \
|
2018-02-17 05:41:08 +01:00
|
|
|
common/version.o \
|
2022-03-01 19:24:18 +01:00
|
|
|
wallet/db_sqlite3_sqlgen.o \
|
2017-12-18 11:10:43 +01:00
|
|
|
wire/towire.o \
|
2018-02-05 05:09:27 +01:00
|
|
|
wire/fromwire.o
|
2017-12-12 04:42:37 +01:00
|
|
|
|
|
|
|
$(WALLET_TEST_PROGRAMS): $(BITCOIN_OBJS) $(WALLET_TEST_COMMON_OBJS)
|
2020-08-31 03:13:25 +02:00
|
|
|
$(WALLET_TEST_OBJS): $(WALLET_HDRS) $(WALLET_SRC)
|
2017-12-12 04:42:37 +01:00
|
|
|
|
2019-06-20 20:13:14 +02:00
|
|
|
check-units: $(WALLET_TEST_PROGRAMS:%=unittest/%)
|