Skip to content

Commit

Permalink
executors/RUBY: extend search path to cover Ruby 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyene committed Dec 16, 2022
1 parent 4a6997e commit f595312
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dmoj/executors/RUBY.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ class Executor(ScriptExecutor):
test_program = 'puts gets'
nproc = -1
command_paths = (
['ruby3.0'] + ['ruby2.%d' % i for i in reversed(range(0, 8))] + ['ruby2%d' % i for i in reversed(range(0, 8))]
['ruby3.%d' % i for i in reversed(range(0, 1))]
+ ['ruby2.%d' % i for i in reversed(range(0, 8))]
+ ['ruby2%d' % i for i in reversed(range(0, 8))]
)
syscalls = ['thr_set_name', 'eventfd2', 'specialfd']
fs = [ExactFile('/proc/self/loginuid')]
Expand Down

0 comments on commit f595312

Please sign in to comment.