Skip to content

Commit

Permalink
circleci: Use xargs instead of "find -exec" to catch errors
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jun 20, 2022
1 parent afde08b commit 1bebb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ commands:
git clone https://github.com/wasmx/wasm-spec --branch w3c-1.0-tests-backported-20210212 --depth 1 wasm-spec
mkdir json && cd json
options='--disable-saturating-float-to-int --disable-sign-extension --disable-multi-value'
find ../wasm-spec/test/core -name '*.wast' -exec wast2json $options {} \;
find ../wasm-spec/test/core -name '*.wast' | xargs -0 -n1 wast2json
fi
- run:
name: "Run spectest<<#parameters.skip_validation>> (skip validation)<</parameters.skip_validation>>"
Expand Down

0 comments on commit 1bebb1c

Please sign in to comment.