Lukáš Zachar
17a421cf99
Disable native.../ruby31 on rhel-10
2024-08-06 18:21:43 +02: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
2dbe9872f1
Disable native-extension-gem../ruby31 on Fedora
2024-07-26 16:28:06 +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
Lukáš Zachar
98bf2ce800
Require rubypick only on Fedora
...
There is no rubypick in rhel/centos but is in Fedora,
7724c2d703/f/ruby.spec (_146-148)
2024-07-09 15:56:27 +02:00
Iveta Wiedermann
dc28d106a9
Delete installed files irrespective of rubygems version
...
Lower version of rubygems doesn't have 'user_gemhome' env variable
therefore there's a condition using different approach.
2023-03-28 17:50:10 +02:00
Iveta Wiedermann
873318151c
native-extension: updating main.fmf
...
native-extension: moving all files to fedora and creating structure
native-extension: removing duplicated id
2023-03-16 11:18:23 +01:00
Iveta Wiedermann
9ab7b3ef3a
native-extension: test installs gem under non-root user and cleans up better
...
native-extension: easier obtaining of user installation path
Change USER to TEST_USER
Don't use tmp file
2023-02-14 11:57:09 +01:00
Iveta Wiedermann
a83361d922
Adding new test for making sure native extension gem is installed without error.
2022-12-04 19:04:53 +01:00
Lukas Zachar
9c0b998188
Update run-basic-rails-application test
...
Remove ror-50 part (not supported anywhere any more)
Dropped rubyracer install
2022-11-30 13:52:53 +01:00
Lukas Zachar
2af06baec0
Add tmt plan to run modified tests
...
Will help with future PRs
2022-11-30 11:11:32 +01:00
Miroslav Vadkerti
831c7db845
Remove bundler unit tests
...
Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-05-29 14:14:45 +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
057642bf1e
Fix dependencies, run bundle install only when needed
...
Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-02-19 13:08:10 +01:00
Miroslav Vadkerti
1511ce41c4
run-basic-rails-application: fix tests for Fedora
...
Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-02-19 12:21:36 +01:00
Miroslav Vadkerti
d51d7fc445
bundler-unit-tests: add fixes for Fedora
...
This patch adds various fixes to the test case, so it can be executed on
Fedora.
Also fixes obvious issues with quoting in if statements.
Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-02-19 12:16:39 +01:00
Miroslav Vadkerti
06c18fa5a3
README.md: rename from README
...
Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-02-15 13:49:51 +01:00
Miroslav Vadkerti
4acde02b0b
Add README file
...
Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-02-15 13:48:41 +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