File tree 1 file changed +5
-9
lines changed 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -82,16 +82,12 @@ for DIR in lightning-invoice lightning-background-processor lightning-rapid-gos
82
82
done
83
83
84
84
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
90
88
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
95
91
RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test --verbose --color always
96
92
97
93
# Note that outbound_commitment_test only runs in this mode because of hardcoded signature values
You can’t perform that action at this time.
0 commit comments