summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-07-10 22:51:09 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-07-14 11:52:13 +0900
commit51e890030fd27c49abd0e0bb46abfd42edc8d0b9 (patch)
treecf8a640373bbaf37c72ce356585df0d9c40c86f9 /array.c
parent7dc284189a36b08e0eb8dcc2f5c7bdd3797b1394 (diff)
[rubygems/rubygems] Reset tmp directories before spec suite
If you abort running test suite with a quick double Ctrl-C, tmp files will be left around, and they will interfere with the next test run. To avoid this, make sure to clear them once at the beginning of the test suite. ### Before ``` $ bin/parallel_rspec 16 processes for 175 specs, ~ 11 specs per process .............................................................................................^C^C Finished in 19.45 seconds (files took 0.42722 seconds to load) 94 examples, 0 failures (... turbo tests backtrace ...) $ bin/parallel_rspec 16 processes for 175 specs, ~ 11 specs per process .F....F....F...F......^C Failures: (... failures' details ...) ``` ### After ``` $ bin/parallel_rspec 16 processes for 175 specs, ~ 11 specs per process .................................................................................^C^C Finished in 18.18 seconds (files took 0.4383 seconds to load) 82 examples, 0 failures (... turbo tests backtrace ...) $ bin/parallel_rspec 16 processes for 175 specs, ~ 11 specs per process ................................................................................^C^C Finished in 8.79 seconds (files took 0.45187 seconds to load) 80 examples, 0 failures (... turbo tests backtrace ...) ``` https://github.com/rubygems/rubygems/commit/6767a52711
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions