mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 13:55:55 +03:00
- tests/docker/Dockerfile: specifies full docker image containing all tools/languages (except matlab). - tests/docker-build.sh: build above image. - tests/docker-run.sh: launch above image. Example: ./tests/docker-run.sh make test^js^step2 - Various fixes across multiple languages: - Unicode fixes for bash and R on Ubuntu Utopic - readline history fixes for when ~/.mal-history is not available or readable/writable. No fatal errors. - fixes to work with perl 5.20 (and still perl 5.18)
10 lines
200 B
Bash
Executable File
10 lines
200 B
Bash
Executable File
#!/bin/bash
|
|
|
|
IMAGE_NAME=${IMAGE_NAME:-mal-test-ubuntu-utopic}
|
|
GIT_TOP=$(git rev-parse --show-toplevel)
|
|
|
|
docker run -it --rm -u ${EUID} \
|
|
--volume=${GIT_TOP}:/mal \
|
|
${IMAGE_NAME} \
|
|
"${@}"
|