hurl/bin/test/test_unit.sh

12 lines
316 B
Bash
Raw Normal View History

2022-07-30 05:49:56 +03:00
#!/bin/sh
set -e
echo "----- unit tests -----"
PATH="$HOME"/.cargo/bin:$PATH
export PATH
cargo test --release --features strict --tests
2022-10-04 16:31:38 +03:00
# Return PATH var to parent shell
package_dir="$(cd target/release ; pwd)"
echo "Run this if you want to use fresh builded hurl package:"
echo " export PATH=$package_dir:$PATH"