Skip to content

Commit

Permalink
Docker: Remove early adoption of do_regtest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Oct 27, 2021
1 parent 29435e6 commit 545439e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.test_cuda-psmp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN ./install_basics.sh
COPY ./scripts/install_regtest.sh .
RUN ./install_regtest.sh local_cuda psmp

ENV USE_DO_REGTEST_PY=1
ENV TESTOPTS="--keepalive"
COPY ./scripts/ci_entrypoint.sh ./scripts/test_regtest.sh ./
CMD ["./ci_entrypoint.sh", "./test_regtest.sh", "local_cuda", "psmp"]

Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.test_hip-psmp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN ./install_basics.sh
COPY ./scripts/install_regtest.sh .
RUN ./install_regtest.sh local_hip psmp

ENV USE_DO_REGTEST_PY=1
ENV TESTOPTS="--keepalive"
COPY ./scripts/ci_entrypoint.sh ./scripts/test_regtest.sh ./
CMD ["./ci_entrypoint.sh", "./test_regtest.sh", "local_hip", "psmp"]

Expand Down
7 changes: 1 addition & 6 deletions tools/docker/scripts/test_regtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,7 @@ export COSMA_DIM_THRESHOLD=0

# Run regtests.
echo -e "\n========== Running Regtests =========="
if [ -n "${USE_DO_REGTEST_PY}" ]; then
./tools/regtesting/print_environment.sh "${ARCH}" "${VERSION}"
./tools/regtesting/do_regtest.py "${ARCH}" "${VERSION}"
else
make ARCH="${ARCH}" VERSION="${VERSION}" TESTOPTS="${TESTOPTS}" test
fi
make ARCH="${ARCH}" VERSION="${VERSION}" TESTOPTS="${TESTOPTS}" test

exit 0 # Prevent CI from overwriting do_regtest's summary message.

Expand Down

0 comments on commit 545439e

Please sign in to comment.