Skip to content

Commit 9f001e5

Browse files
committed
f ugh i wanted to do this in the next pr
1 parent 023ad67 commit 9f001e5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

ci/ci-tests.sh

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,12 @@ for DIR in lightning-invoice lightning-background-processor lightning-rapid-gos
8282
done
8383

8484
echo -e "\n\nTesting no-std flags in various combinations"
85-
for DIR in lightning; do
86-
cargo test -p $DIR --verbose --color always --no-default-features --features no-std
87-
# check if there is a conflict between no-std and the default std feature
88-
cargo test -p $DIR --verbose --color always --features no-std
89-
done
85+
cargo test -p lightning --verbose --color always --no-default-features --features no-std
86+
# check if there is a conflict between no-std and the default std feature
87+
cargo test -p lightning --verbose --color always --features no-std
9088

91-
for DIR in lightning; do
92-
# check if there is a conflict between no-std and the c_bindings cfg
93-
RUSTFLAGS="$RUSTFLAGS --cfg=c_bindings" cargo test -p $DIR --verbose --color always --no-default-features --features=no-std
94-
done
89+
# check if there is a conflict between no-std and the c_bindings cfg
90+
RUSTFLAGS="$RUSTFLAGS --cfg=c_bindings" cargo test -p lightning --verbose --color always --no-default-features --features=no-std
9591
RUSTFLAGS="$RUSTFLAGS --cfg=c_bindings" cargo test --verbose --color always
9692

9793
# Note that outbound_commitment_test only runs in this mode because of hardcoded signature values

0 commit comments

Comments
 (0)