Add test clause (currently not working)

This commit is contained in:
Jeremy Soller 2016-12-29 11:13:24 -07:00
parent fa92725782
commit 1b5736cc54

View File

@ -50,6 +50,12 @@ function op {
xargo build --target "$TARGET" --release $CARGOFLAGS
popd > /dev/null
;;
test)
pushd build > /dev/null
cp -r "$ROOT/Xargo.toml" "$ROOT/libc-artifacts" .
xargo test --no-run --target "$TARGET" --release $CARGOFLAGS
popd > /dev/null
;;
clean)
pushd build > /dev/null
xargo clean