Skip to content

Commit 57b00ea

Browse files
committed
fix(CI): Codex broke the test suite accidentally
1 parent 565e11a commit 57b00ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
alias t := test
22

33
test:
4-
ruby -Itest test/test_kernel_patches.rb test/test_tracer.rb
4+
ruby -Itest -e 'Dir["test/test_*.rb"].each { |f| require File.expand_path(f) }'
55

66
bench pattern="*" write_report="console":
77
ruby test/benchmarks/run_benchmarks.rb '{{pattern}}' --write-report={{write_report}}

codetracer/kernel_patches.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module KernelPatches
55
@@tracers = []
66

77
def self.install(tracer)
8+
return if @@tracers.include?(tracer)
89
@@tracers << tracer
910

1011
if @@tracers.length == 1

0 commit comments

Comments
 (0)