forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These source files are only used for peer-related things, so move them. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
5c066b9
commit 0d442b5
Showing
14 changed files
with
51 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
check: connectd-tests | ||
|
||
# Note that these actually #include everything they need, except ccan/ and bitcoin/. | ||
# That allows for unit testing of statics, and special effects. | ||
CONNECTD_TEST_SRC := $(wildcard connectd/test/run-*.c) | ||
CONNECTD_TEST_OBJS := $(CONNECTD_TEST_SRC:.c=.o) | ||
CONNECTD_TEST_PROGRAMS := $(CONNECTD_TEST_OBJS:.o=) | ||
|
||
CONNECTD_TEST_COMMON_OBJS := \ | ||
common/features.o \ | ||
common/pseudorand.o \ | ||
common/type_to_string.o \ | ||
common/utils.o | ||
|
||
update-mocks: $(CONNECTD_TEST_SRC:%=update-mocks/%) | ||
|
||
$(CONNECTD_TEST_PROGRAMS): $(CONNECTD_TEST_COMMON_OBJS) $(BITCOIN_OBJS) | ||
|
||
# Test objects depend on ../ src and headers. | ||
$(CONNECTD_TEST_OBJS): $(LIGHTNINGD_CONNECT_HEADERS) $(LIGHTNINGD_CONNECT_SRC) | ||
|
||
ALL_OBJS += $(CONNECTD_TEST_OBJS) | ||
ALL_TEST_PROGRAMS += $(CONNECTD_TEST_PROGRAMS) | ||
|
||
connectd-tests: $(CONNECTD_TEST_PROGRAMS:%=unittest/%) | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters