Skip to content

Commit

Permalink
Merge branch 'tests-simplify-cleanup'
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed May 3, 2024
2 parents 8c671c1 + a54a447 commit 339e8cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/ci-runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ echo "**********************************"
echo "* Downloading app packages"
echo "**********************************"

find "$PACKAGES_DIR" -type f -mtime +5 -delete || true

mkdir -p "$PACKAGES_DIR"
nice_time download_app_package "$OLD_APP_VERSION" "$TEST_OS"
nice_time download_app_package "$NEW_APP_VERSION" "$TEST_OS"
Expand All @@ -216,9 +218,6 @@ echo "**********************************"
echo "* Building test runner"
echo "**********************************"

# Clean up packages. Try to keep ones that match the versions we're testing
find "$PACKAGES_DIR/" -type f ! \( -name "*${OLD_APP_VERSION}_*" -o -name "*${OLD_APP_VERSION}.*" -o -name "*${commit}*" \) -delete || true

function build_test_runner {
if [[ "${TEST_OS}" =~ "debian"|"ubuntu"|"fedora" ]]; then
./container-run.sh ./build-runner.sh linux
Expand Down

0 comments on commit 339e8cc

Please sign in to comment.