File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -261,11 +261,6 @@ else
261261 sed -i ' ' ' s/#include <stdlib.h>/#include "ldk_rust_types.h"/g' include/lightning.h
262262fi
263263
264- if $SKIP_TESTS ; then
265- echo " Skipping tests!"
266- exit 0
267- fi
268-
269264# Build C++ class methods which call trait methods
270265echo " Updating C++ header, this may take some time, especially on macOS"
271266set +x # Echoing every command is very verbose here
@@ -334,6 +329,11 @@ export IFS="$OLD_IFS"
334329set -x
335330mv include/lightningpp_new.hpp include/lightningpp.hpp
336331
332+ if $SKIP_TESTS ; then
333+ echo " Skipping tests!"
334+ exit 0
335+ fi
336+
337337# Finally, sanity-check the generated C and C++ bindings with demo apps:
338338# Naively run the C demo app:
339339gcc $LOCAL_CFLAGS -Wall -g -pthread demo.c target/debug/libldk.a -ldl -lm
You can’t perform that action at this time.
0 commit comments