Skip to content

Commit 05428c8

Browse files
committed
ZJIT: Remove side-exit locations dump after test
1 parent 3fd1be9 commit 05428c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/ruby/test_zjit.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,9 @@ def array.itself = :not_itself
395395
test(array)
396396
397397
fxt_files = Dir.glob("/tmp/perfetto-\#{Process.pid}.fxt")
398-
fxt_files.length == 1 && !File.empty?(fxt_files.first)
398+
result = fxt_files.length == 1 && !File.empty?(fxt_files.first)
399+
File.unlink(*fxt_files)
400+
result
399401
RUBY
400402
end
401403

0 commit comments

Comments
 (0)