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
22set -o pipefail
33
44test_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
912 target/$TARGET /release/svd2rust -i $td /${1} .svd | ( rustfmt 2> /dev/null > $td /src/lib.rs || true )
1013
1114 cargo check --manifest-path $td /Cargo.toml
@@ -405,9 +408,9 @@ main() {
405408 # test_svd LPC178x_7x
406409 # test_svd LPC178x_7x_v0.8
407410 # test_svd LPC408x_7x_v0.7
411+ # test_svd LPC11Axxv0.6
408412
409413 # OK
410- test_svd LPC11Axxv0.6
411414 test_svd LPC11E6x_v0.8
412415 test_svd LPC176x5x_v0.2
413416 test_svd LPC5410x_v0.4
You can’t perform that action at this time.
0 commit comments