Commit 0b4e6ad4 authored by Martin Jeřábek's avatar Martin Jeřábek
Browse files

Merge branch 'docker-script' into 'master'

add docker script to setup testing environment

See merge request illeondr/CAN_FD_IP_Core!139
parents 466e9a5a 32d8a65e
#!/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