Skip to content

Commit

Permalink
Merge pull request #196506 from Homebrew/cdogs-sdl-test-build
Browse files Browse the repository at this point in the history
cdogs-sdl: extend sleep time
  • Loading branch information
BrewTestBot authored Nov 3, 2024
2 parents e6e420e + 9ea8114 commit 755c96e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/c/cdogs-sdl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ def install
pid = fork do
exec bin/"cdogs-sdl"
end
sleep 7

max_sleep_time = 90
time_slept = 0
time_slept += sleep(5) while !(testpath/".config/cdogs-sdl").exist? && time_slept < max_sleep_time

assert_predicate testpath/".config/cdogs-sdl",
:exist?, "User config directory should exist"
ensure
Expand Down

0 comments on commit 755c96e

Please sign in to comment.