File tree 1 file changed +11
-8
lines changed 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,25 @@ case "$BINDGEN_JOB" in
14
14
# Need rustfmt to compare the test expectations.
15
15
rustup update nightly
16
16
rustup component add rustfmt
17
- export RUSTFMT=" $( rustup which rustfmt) "
18
- cargo test $BINDGEN_PROFILE --features " $BINDGEN_FEATURES "
17
+ RUSTFMT=" $( rustup which rustfmt) "
18
+ export RUSTFMT
19
+ cargo test " $BINDGEN_PROFILE " --features " $BINDGEN_FEATURES "
19
20
./ci/assert-no-diff.sh
20
21
;;
21
22
22
23
" integration" )
23
24
cd ./bindgen-integration
24
- cargo test $BINDGEN_PROFILE --features " $BINDGEN_FEATURES "
25
+ cargo test " $BINDGEN_PROFILE " --features " $BINDGEN_FEATURES "
26
+ ;;
27
+
28
+ " nofeatures" )
29
+ cargo test " $BINDGEN_PROFILE " --no-default-features
30
+ ./ci/assert-no-diff.sh
25
31
;;
26
32
27
33
" expectations" )
28
34
cd ./tests/expectations
29
- cargo test $BINDGEN_PROFILE
35
+ cargo test " $BINDGEN_PROFILE "
30
36
;;
31
37
32
38
" misc" )
@@ -43,10 +49,7 @@ case "$BINDGEN_JOB" in
43
49
# TODO: Actually run quickchecks once `bindgen` is reliable enough.
44
50
cargo test
45
51
;;
46
- " nofeatures" )
47
- cargo test $BINDGEN_PROFILE --no-default-features
48
- ./ci/assert-no-diff.sh
49
- ;;
52
+
50
53
* )
51
54
echo " Error! Unknown \$ BINDGEN_JOB: '$BINDGEN_JOB '"
52
55
exit 1
You can’t perform that action at this time.
0 commit comments