Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-parallel_tests for
openSUSE:Factory checked in at 2022-12-14 14:10:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-parallel_tests (Old)
and /work/SRC/openSUSE:Factory/.rubygem-parallel_tests.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-parallel_tests"
Wed Dec 14 14:10:50 2022 rev:16 rq:1042649 version:4.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-parallel_tests/rubygem-parallel_tests.changes
2022-10-12 18:22:36.169351379 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-parallel_tests.new.1835/rubygem-parallel_tests.changes
2022-12-14 14:11:01.423501106 +0100
@@ -1,0 +2,6 @@
+Wed Dec 7 11:28:40 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 4.0.0
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
parallel_tests-3.13.0.gem
New:
----
parallel_tests-4.0.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-parallel_tests.spec ++++++
--- /var/tmp/diff_new_pack.mvbCMA/_old 2022-12-14 14:11:02.287505549 +0100
+++ /var/tmp/diff_new_pack.mvbCMA/_new 2022-12-14 14:11:02.331505776 +0100
@@ -24,12 +24,12 @@
#
Name: rubygem-parallel_tests
-Version: 3.13.0
+Version: 4.0.0
Release: 0
%define mod_name parallel_tests
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{ruby >= 2.6.0}
+BuildRequires: %{ruby >= 2.7.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
++++++ parallel_tests-3.13.0.gem -> parallel_tests-4.0.0.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/parallel_tests/cli.rb
new/lib/parallel_tests/cli.rb
--- old/lib/parallel_tests/cli.rb 2022-09-24 07:16:00.000000000 +0200
+++ new/lib/parallel_tests/cli.rb 2022-11-05 21:18:59.000000000 +0100
@@ -131,12 +131,12 @@
failing_sets = test_results.reject { |r| r[:exit_status] == 0 }
return if failing_sets.none?
- if options[:verbose] || options[:verbose_rerun_command]
+ if options[:verbose] || options[:verbose_command]
puts "\n\nTests have failed for a parallel_test group. Use the
following command to run the group again:\n\n"
failing_sets.each do |failing_set|
command = failing_set[:command]
command = @runner.command_with_seed(command, failing_set[:seed]) if
failing_set[:seed]
- puts Shellwords.shelljoin(command)
+ @runner.print_command(command, failing_set[:env] || {})
end
end
end
@@ -261,8 +261,7 @@
opts.on("--first-is-1", "Use \"1\" as TEST_ENV_NUMBER to not reuse the
default test environment") { options[:first_is_1] = true }
opts.on("--fail-fast", "Stop all groups when one group fails (best
used with --test-options '--fail-fast' if supported") { options[:fail_fast] =
true }
opts.on("--verbose", "Print debug output") { options[:verbose] = true }
- opts.on("--verbose-process-command", "Displays only the command that
will be executed by each process") { options[:verbose_process_command] = true }
- opts.on("--verbose-rerun-command", "When there are failures, displays
the command executed by each process that failed") {
options[:verbose_rerun_command] = true }
+ opts.on("--verbose-command", "Displays the command that will be
executed by each process and when there are failures displays the command
executed by each process that failed") { options[:verbose_command] = true }
opts.on("--quiet", "Print only tests output") { options[:quiet] = true
}
opts.on("-v", "--version", "Show Version") do
puts ParallelTests::VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/parallel_tests/test/runner.rb
new/lib/parallel_tests/test/runner.rb
--- old/lib/parallel_tests/test/runner.rb 2022-09-24 07:16:00.000000000
+0200
+++ new/lib/parallel_tests/test/runner.rb 2022-11-05 21:18:59.000000000
+0100
@@ -97,11 +97,16 @@
# being able to run with for example `-output foo-$TEST_ENV_NUMBER`
worked originally and is convenient
cmd.map! { |c| c.gsub("$TEST_ENV_NUMBER",
number).gsub("${TEST_ENV_NUMBER}", number) }
- puts Shellwords.shelljoin(cmd) if report_process_command?(options)
&& !options[:serialize_stdout]
+ print_command(cmd, env) if report_process_command?(options) &&
!options[:serialize_stdout]
execute_command_and_capture_output(env, cmd, options)
end
+ def print_command(command, env)
+ env_str = ['TEST_ENV_NUMBER', 'PARALLEL_TEST_GROUPS'].map { |e|
"#{e}=#{env[e]}" }.join(' ')
+ puts [env_str, Shellwords.shelljoin(command)].compact.join(' ')
+ end
+
def execute_command_and_capture_output(env, cmd, options)
pid = nil
@@ -119,7 +124,7 @@
output = "#{Shellwords.shelljoin(cmd)}\n#{output}" if
report_process_command?(options) && options[:serialize_stdout]
- { stdout: output, exit_status: exitstatus, command: cmd, seed: seed }
+ { env: env, stdout: output, exit_status: exitstatus, command: cmd,
seed: seed }
end
def find_results(test_output)
@@ -286,7 +291,7 @@
end
def report_process_command?(options)
- options[:verbose] || options[:verbose_process_command]
+ options[:verbose] || options[:verbose_command]
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/parallel_tests/version.rb
new/lib/parallel_tests/version.rb
--- old/lib/parallel_tests/version.rb 2022-09-24 07:16:00.000000000 +0200
+++ new/lib/parallel_tests/version.rb 2022-11-05 21:18:59.000000000 +0100
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module ParallelTests
- VERSION = '3.13.0'
+ VERSION = '4.0.0'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2022-09-24 07:16:00.000000000 +0200
+++ new/metadata 2022-11-05 21:18:59.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: parallel_tests
version: !ruby/object:Gem::Version
- version: 3.13.0
+ version: 4.0.0
platform: ruby
authors:
- Michael Grosser
autorequire:
bindir: bin
cert_chain: []
-date: 2022-09-24 00:00:00.000000000 Z
+date: 2022-11-05 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: parallel
@@ -68,8 +68,8 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/grosser/parallel_tests/issues
- documentation_uri:
https://github.com/grosser/parallel_tests/blob/v3.13.0/Readme.md
- source_code_uri: https://github.com/grosser/parallel_tests/tree/v3.13.0
+ documentation_uri:
https://github.com/grosser/parallel_tests/blob/v4.0.0/Readme.md
+ source_code_uri: https://github.com/grosser/parallel_tests/tree/v4.0.0
wiki_uri: https://github.com/grosser/parallel_tests/wiki
post_install_message:
rdoc_options: []
@@ -79,7 +79,7 @@
requirements:
- - ">="
- !ruby/object:Gem::Version
- version: 2.6.0
+ version: 2.7.0
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="