Commit graph

11 commits

Author SHA1 Message Date
Lukáš Zachar
902b404c3f Use TracePoint.new{} in Hash.new() example
Otherwise Ruby 3.4 doesn't print expected `Hash::initialize`
2025-01-22 18:03:24 +01:00
Lukáš Zachar
a0ddcd21c4 Update system during systemtap probe test
Otherwise CI might be running old kernel which
no longer exists in repositories making the stap-prep fail on missing
debuginfo/devel packages.
2025-01-21 10:03:16 +01:00
Lukáš Zachar
bbbeff3374 Improve checking for systemtap files
Log whether _STAP_FILE (the systemtap example) is used from any rpm.
Make sure the tapset (probes files) is used from PACKAGES
2024-08-05 11:50:47 +02:00
Lukáš Zachar
96ff9a3911 Set environment variables properly on non-fedora
Remove unused COLLECTION handling (collections are past end-of-life)
Remove PRINT variable
2024-08-05 11:50:01 +02:00
Lukáš Zachar
d640ff95a5 Use _STAP_FILE value directly
Hardoced to the path in ruby-doc but can be changed from envar
2024-07-18 13:46:08 +02:00
Vít Ondruch
b658b742c0 Require rubypick only on Fedora
There is no rubypick in rhel/centos but is in Fedora:

7724c2d703/f/ruby.spec (_146-148)

This is the same fix as:

https://src.fedoraproject.org/fork/lzachar/tests/ruby/c/98bf2ce800d42d3b17df5af62b782c43d39f21f3
2024-07-18 09:54:17 +02:00
Lukáš Zachar
3dee01db19 squash: Use TracePoint
Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2252100
and https://bugs.ruby-lang.org/issues/14582
2024-07-16 18:38:51 +02:00
Lukas Zachar
b35f6f20d7 systemtap-probe: sync downstream changes, fix require
While require on file in rpm works now, with dnf-5 it might not work out
of the box. Let's keep adding package which contains this file in the
require/recommend instead

Extend stap buffer size and limit "noise" produced by ruby interpreter
so stap output is more usable.
2024-07-16 18:38:51 +02:00
Lukas Zachar
082d2ec5c5 Remove Makefile/PURPOSE file, add summary/description 2024-07-16 18:38:49 +02:00
Miroslav Vadkerti
2e9ba6a554 Add fixes for Fedora, improve waiting for stap
This patch fixes the execution of the test for Fedora. It also
includes improved waiting for stap, which uses now active waiting
instead of static sleep.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-02-19 14:11:33 +01:00
Miroslav Vadkerti
a4cdc02f01 Import 3 integration tests
systemtap-static-probes-in-ruby: for testing ruby's systemtap api
bundler-unit-tests: to run bundler's unit tests
run-basic-rails-application: a simple rails application test

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-02-15 13:42:17 +01:00