Commit 32d8a65e authored by Martin Jeřábek's avatar Martin Jeřábek

add docker script to setup testing environment

parent 466e9a5a
#!/bin/bash
#
# Run docker with vunit and ghdl with current directory mounted in /build.
# It is ready to run tests via, for example, `make test_fast coverage`
#
if [ -d /build ]; then
export PATH=/opt/ghdl/bin:$PATH
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export PYTHONUNBUFFERED=1
cd /build/test
exec bash
else
docker run -ti -v $PWD:/build mjerabek/ghdl:upstream-gcc /build/run-docker-test
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment