summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2016-12-15 15:06:35 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2016-12-15 18:09:30 +0100
commit1041e01969b98b37b4c697aa2e8b99ff7df60ad7 (patch)
treed83ede38bdc2e62a5cfce5791eb88bb7a4bf5a42 /docker/Dockerfile
parente137a5a2fc75393f07f9fb2fdadf035af8dd3ee2 (diff)
Fix find in Dockerfile
Unit tests has been moved to functest/tests/unit Change-Id: I62175f04089eb4d12213e1c48ae1a5abbb540e2e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index eddf391f..44437db0 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -125,7 +125,7 @@ RUN pip install -r ${REPOS_DIR}/rally/requirements.txt
RUN pip install -r ${REPOS_DIR}/tempest/requirements.txt
RUN find ${FUNCTEST_REPO_DIR} -name "*.py" \
- -not -path *unit_tests* |xargs grep __main__ |cut -d\: -f 1 |xargs chmod -c 755 \
+ -not -path "*tests/unit*" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod -c 755 \
&& find ${FUNCTEST_REPO_DIR} -name "*.sh" |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755
RUN /bin/bash ${REPOS_DIR}/parser/tests/parser_install.sh ${REPOS_DIR}