Update the rest of the scripts to work with relative paths.

This commit is contained in:
Tom Alexander
2023-09-08 21:50:32 -04:00
parent 21c60d1036
commit d1fe2f6b09
5 changed files with 11 additions and 17 deletions

View File

@@ -4,7 +4,6 @@ set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR/../"
REALPATH=$(command -v uu-realpath || command -v realpath)
function main {
@@ -12,7 +11,7 @@ function main {
local test
while read test; do
cargo test --no-default-features --features compare --no-fail-fast --test test_loader "$test" -- --show-output
(cd "$DIR/../" && cargo test --no-default-features --features compare --no-fail-fast --test test_loader "$test" -- --show-output)
done<<<"$test_names"
}