t CApiWrappedTypedStruct DATA_PTR - returns the struct data C-API Util function - returns the C int value C-API Util function rb_scan_args - assigns the required arguments scanned - raises an ArgumentError if there are insufficient arguments - raises an ArgumentError if there are too many arguments - assigns the required and optional arguments scanned - assigns the optional arguments scanned - assigns nil for optional arguments that are not present - assigns the required and optional arguments and splats the rest - assigns the required and optional arguments and and empty Array when there are no arguments to splat - assigns required, optional arguments scanned and the passed block - assigns required, optional, splatted arguments scanned and the passed block - assigns required arguments, nil for missing optional arguments and the passed block - assigns required, splatted arguments and the passed block - assigns post-splat arguments - assigns required, optional, splat and post-splat arguments - assigns required, splat, post-splat arguments - assigns optional, splat, post-splat arguments - assigns required, optional, splat, post-splat and block arguments - assigns Hash arguments - assigns required and Hash arguments - assigns required and Hash arguments with optional Hash - assigns required and Hash arguments with nil Hash - assigns required and optional arguments with no hash argument given - assigns required, optional, splat, post-splat, Hash and block arguments - rejects non-keyword arguments - rejects required and non-keyword arguments - considers the hash as a post argument when there is a splat C-API Util function rb_get_kwargs - extracts required arguments in the order requested - extracts required and optional arguments in the order requested - accepts nil instead of a hash when only optional arguments are requested - raises an error if a required argument is not in the hash - does not raise an error for an optional argument not in the hash - raises an error if there are additional arguments and optional is positive - leaves additional arguments in the hash if optional is negative C-API Util function rb_long2int - raises a RangeError if the value is outside the range of a C int C-API Util function rb_iter_break - breaks a loop - breaks the inner loop C-API Util function rb_sourcefile - returns the current ruby file C-API Util function rb_sourceline - returns the current ruby file 1) Process.clock_getres matches the clock in practice for Process::CLOCK_PROCESS_CPUTIME_ID FAILED Expected 10000 == 10000 to be falsy but was true /builddir/build/BUILD/ruby-2.7.1/spec/ruby/core/process/clock_getres_spec.rb:27:in `block (4 levels) in ' /builddir/build/BUILD/ruby-2.7.1/spec/ruby/core/process/clock_getres_spec.rb:4:in `' 2) Process.clock_getres matches the clock in practice for Process::CLOCK_THREAD_CPUTIME_ID FAILED Expected 10000 == 10000 to be falsy but was true /builddir/build/BUILD/ruby-2.7.1/spec/ruby/core/process/clock_getres_spec.rb:27:in `block (4 levels) in ' /builddir/build/BUILD/ruby-2.7.1/spec/ruby/core/process/clock_getres_spec.rb:4:in `' Finished in 2010.323383 seconds 3746 files, 30427 examples, 111183 expectations, 2 failures, 0 errors, 3 tagged make: *** [uncommon.mk:823: yes-test-spec] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.WZBXAy (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WZBXAy (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby.spec