rubygem-thread_order/tests/unit.fmf
Lukáš Zachar 2722acb941 Add gating
Run same test as in %check
2024-07-31 14:42:03 +02:00

17 lines
435 B
Plaintext

test: |
cd $(dirname $TMT_SOURCE_DIR/*/spec)
FAILFILE=()
FAILTEST=()
FAILFILE+=("spec/thread_order_spec.rb")
FAILTEST+=("is implemented without depending on the stdlib")
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
sed -i \
-e "\@${FAILTEST[$i]}@s|do$|, :broken => true do|" \
${FAILFILE[$i]}
}
rspec spec/ --tag ~broken
require:
- rubygem-thread_order
tag:
- rhel-buildroot