Add a script to run compare using the docker image.
This commit is contained in:
@@ -22,10 +22,11 @@ function get_test_names {
|
||||
done
|
||||
}
|
||||
|
||||
make -C "$DIR/../docker/organic_test"
|
||||
|
||||
get_test_names "$@" | while read test; do
|
||||
(
|
||||
cd "$DIR/../"
|
||||
make -C docker/organic_test
|
||||
docker run --rm -v "$(readlink -f ./):/.source:ro" --mount source=cargo-cache,target=/usr/local/cargo/registry -w / organic-test sh -c "cp -r /.source /source && cd /source && cargo test --no-fail-fast --lib --test test_loader \"$test\" -- --show-output"
|
||||
)
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user