dtrace does not appear in RbConfig anymore :(.

This commit is contained in:
Vít Ondruch 2015-03-26 17:13:01 +01:00
commit d096b7d67d
2 changed files with 0 additions and 14 deletions

View file

@ -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,

View file

@ -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