From ab634dfcdd9e53d40c5c8a041e641e20c94545a4 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 1 Nov 2017 12:28:25 +1030 Subject: [PATCH] common/test_sphinx: change to standard run- format. Signed-off-by: Rusty Russell --- common/test/Makefile | 4 +--- common/test/{test_sphinx.c => run-sphinx.c} | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) rename common/test/{test_sphinx.c => run-sphinx.c} (99%) diff --git a/common/test/Makefile b/common/test/Makefile index 8c38dd92c..fb9c01a5c 100644 --- a/common/test/Makefile +++ b/common/test/Makefile @@ -1,10 +1,8 @@ -COMMON_TEST_SRC := \ - common/test/test_sphinx.c +COMMON_TEST_SRC := $(wildcard common/test/run-*.c) COMMON_TEST_OBJS := $(COMMON_TEST_SRC:.c=.o) COMMON_TEST_PROGRAMS := $(COMMON_TEST_OBJS:.o=) COMMON_TEST_COMMON_OBJS := \ - common/sphinx.o \ common/utils.o $(COMMON_TEST_PROGRAMS): $(COMMON_TEST_COMMON_OBJS) $(BITCOIN_OBJS) diff --git a/common/test/test_sphinx.c b/common/test/run-sphinx.c similarity index 99% rename from common/test/test_sphinx.c rename to common/test/run-sphinx.c index e885abcc4..6917964ea 100644 --- a/common/test/test_sphinx.c +++ b/common/test/run-sphinx.c @@ -1,3 +1,4 @@ +#include "../sphinx.c" #include #include #include