Skip to content

Commit 6d50926

Browse files
committed
Create tmp directory before running tests
1 parent 8b0f939 commit 6d50926

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ build
33
ext/natalie_parser/*.o
44
ext/natalie_parser/*.log
55
ext/natalie_parser/*.h
6+
test/tmp
7+
rubyspec_temp

test/asan_test.rb

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# rake clean build_asan
44
# ruby test/asan_test.rb
55

6+
require 'fileutils'
67
require 'minitest/spec'
78
require 'minitest/autorun'
89
require_relative 'support/compare_rubies'
@@ -24,6 +25,10 @@
2425

2526
Dir.chdir File.expand_path('..', __dir__)
2627

28+
before do
29+
FileUtils.mkdir_p 'test/tmp'
30+
end
31+
2732
TESTS.each do |path|
2833
next if TESTS_TO_SKIP.include?(path)
2934

0 commit comments

Comments
 (0)