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
261
261
sed -i ' ' ' s/#include <stdlib.h>/#include "ldk_rust_types.h"/g' include/lightning.h
262
262
fi
263
263
264
- if $SKIP_TESTS ; then
265
- echo " Skipping tests!"
266
- exit 0
267
- fi
268
-
269
264
# Build C++ class methods which call trait methods
270
265
echo " Updating C++ header, this may take some time, especially on macOS"
271
266
set +x # Echoing every command is very verbose here
@@ -334,6 +329,11 @@ export IFS="$OLD_IFS"
334
329
set -x
335
330
mv include/lightningpp_new.hpp include/lightningpp.hpp
336
331
332
+ if $SKIP_TESTS ; then
333
+ echo " Skipping tests!"
334
+ exit 0
335
+ fi
336
+
337
337
# Finally, sanity-check the generated C and C++ bindings with demo apps:
338
338
# Naively run the C demo app:
339
339
gcc $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