2722acb941
Run same test as in %check
17 lines
435 B
Plaintext
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
|