File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,13 @@ set -ex
2
2
set -o pipefail
3
3
4
4
test_svd () {
5
- curl -L \
6
- https://raw.githubusercontent.com/posborne/cmsis-svd/python-0.4/data/$VENDOR /${1} .svd \
7
- > $td /${1} .svd
8
- # we care about errors in svd2rust, but not about errors / warnings in rustfmt
5
+ (
6
+ cd $td &&
7
+ curl -LO \
8
+ https://raw.githubusercontent.com/posborne/cmsis-svd/python-0.4/data/$VENDOR /${1} .svd
9
+ )
10
+
11
+ # NOTE we care about errors in svd2rust, but not about errors / warnings in rustfmt
9
12
target/$TARGET /release/svd2rust -i $td /${1} .svd | ( rustfmt 2> /dev/null > $td /src/lib.rs || true )
10
13
11
14
cargo check --manifest-path $td /Cargo.toml
@@ -405,9 +408,9 @@ main() {
405
408
# test_svd LPC178x_7x
406
409
# test_svd LPC178x_7x_v0.8
407
410
# test_svd LPC408x_7x_v0.7
411
+ # test_svd LPC11Axxv0.6
408
412
409
413
# OK
410
- test_svd LPC11Axxv0.6
411
414
test_svd LPC11E6x_v0.8
412
415
test_svd LPC176x5x_v0.2
413
416
test_svd LPC5410x_v0.4
You can’t perform that action at this time.
0 commit comments