From b273b562828dc0dcd705538c7929c0adddc04788 Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <maltanar@gmail.com>
Date: Thu, 16 Apr 2020 00:27:13 +0100
Subject: [PATCH] [Docker] import bashrc for test mode as well

---
 run-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-docker.sh b/run-docker.sh
index e1ccb2a2a..62ca70c2c 100755
--- a/run-docker.sh
+++ b/run-docker.sh
@@ -83,7 +83,7 @@ echo "Using default PYNQ board $PYNQ_BOARD"
 
 if [ "$1" = "test" ]; then
         echo "Running test suite"
-        DOCKER_CMD="python setup.py test"
+        DOCKER_CMD="source ~/.bashrc; python setup.py test"
 elif [ "$1" = "notebook" ]; then
         echo "Running Jupyter notebook server"
         DOCKER_CMD="source ~/.bashrc; jupyter notebook --ip=0.0.0.0 --port $JUPYTER_PORT notebooks"
-- 
GitLab