Skip to content

Commit

Permalink
Add back libnat_test to ASan tests
Browse files Browse the repository at this point in the history
Precompiling libnat.so should help it to not timeout.
  • Loading branch information
seven1m committed Dec 27, 2024
1 parent 8a99f0f commit baf234f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ task test_self_hosted_full: %i[bootstrap build_test_support] do
end

desc 'Test that some representative code runs with the AddressSanitizer enabled'
task test_asan: [:build_sanitized, 'bin/nat'] do
task test_asan: [:build_sanitized, :build_test_support, 'bin/nat'] do
sh 'ruby test/asan_test.rb'
end

Expand Down
3 changes: 0 additions & 3 deletions test/asan_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
end

TESTS_TO_SKIP = [
# too slow, times out frequently
'test/natalie/libnat_test.rb',

# calls GC.start/GC.enable, but we're not ready for that
'test/natalie/thread_test.rb',
'test/natalie/gc_test.rb',
Expand Down

0 comments on commit baf234f

Please sign in to comment.