dtrace does not appear in RbConfig anymore :(.
This commit is contained in:
parent
77a06297c1
commit
d096b7d67d
2 changed files with 0 additions and 14 deletions
|
|
@ -84,8 +84,6 @@ Source7: config.h
|
|||
Source8: rubygems.attr
|
||||
Source9: rubygems.req
|
||||
Source10: rubygems.prov
|
||||
# SystemTap sanity test case.
|
||||
Source11: test_systemtap.rb
|
||||
|
||||
# The load directive is supported since RPM 4.12, i.e. F21+. The build process
|
||||
# fails on older Fedoras.
|
||||
|
|
@ -582,9 +580,6 @@ sed -e "s|@LIBRARY_PATH@|%{tapset_libdir}/libruby.so.%{major_minor_version}|" \
|
|||
sed -i -r "s|( \*.*\*)\/(.*)|\1\\\/\2|" %{buildroot}%{tapset_dir}/libruby.so.%{major_minor_version}.stp
|
||||
|
||||
%check
|
||||
# Sanity check that SystemTap (dtrace) was detected.
|
||||
make runruby TESTRUN_SCRIPT=%{SOURCE11}
|
||||
|
||||
DISABLE_TESTS=""
|
||||
|
||||
# test_debug(TestRubyOptions) fails due to LoadError reported in debug mode,
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
require 'rbconfig'
|
||||
|
||||
if RbConfig::CONFIG.select {|k, v| v =~ /dtrace/}.size == 1
|
||||
exit true
|
||||
else
|
||||
puts 'ERROR: SystemTap (dtrace) support was not detected.'
|
||||
|
||||
exit false
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue