From ff7177360c47bfd089ab7a7fd9f9d7e06ffbf614 Mon Sep 17 00:00:00 2001 From: Andrew Reusch Date: Fri, 30 Jul 2021 07:38:15 -0700 Subject: [PATCH] Delete pytest-results as part of CI workspace preparation. (#8594) * Otherwise, stale pytest-results could appear in builds. --- tests/scripts/task_ci_setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/task_ci_setup.sh b/tests/scripts/task_ci_setup.sh index e534e8bc114b..753d17d8afe5 100755 --- a/tests/scripts/task_ci_setup.sh +++ b/tests/scripts/task_ci_setup.sh @@ -36,3 +36,6 @@ python3 -m pip install --user tlcpack-sphinx-addon==0.2.1 synr==0.3.0 # Jenkinsfile. We expect config.cmake to be present from pack_lib(). # TODO(areusch): Make pack_lib() pack all the data dependencies of TVM. (cd build && cmake .. && make standalone_crt) + +# Ensure no stale pytest-results remain from a previous test run. +(cd build && rm -rf pytest-results)