grntest 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +12 -0
- data/lib/grntest/executors/base-executor.rb +2 -0
- data/lib/grntest/reporters/base-reporter.rb +7 -1
- data/lib/grntest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa40165815d080049dd1910a6e417d10c669225e5b151882192181f830e24347
|
4
|
+
data.tar.gz: d4c4f85b34059a6d8f4c5ed66e4bc60e7294253dcfd8a0f1fc1dbecb42684912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 595dda68c29ddd69b0cdb5b76c96c3471c811e23d1a0f3a13622d5341ad463db65d0d71a21556675d22e56dc087b167fea64f61886abd9e62d0745a8cf157e13
|
7
|
+
data.tar.gz: bbdf5697336b6e0a7963e7d6b399624829fd3184bf5971c056292a9ac7f9197e28093c980c231772f323e2f072be9a3ceee87021a22d559ee59ffbe4eac3e80a
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.6.3: 2023-09-18
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* reporter: stream: Changed to show worker ID for each test.
|
8
|
+
|
9
|
+
* Added support for backtrace pattern provided by mruby 3.2.0.
|
10
|
+
|
11
|
+
### Fixes
|
12
|
+
|
13
|
+
* reporter: stream: Fixed a bug that worker ID isn't outputted.
|
14
|
+
|
3
15
|
## 1.6.2: 2023-08-24
|
4
16
|
|
5
17
|
### Improvements
|
@@ -128,13 +128,19 @@ module Grntest
|
|
128
128
|
reporter.report
|
129
129
|
end
|
130
130
|
|
131
|
+
def report_worker_id(worker)
|
132
|
+
@worker_id_width ||= (Math.log10(@tester.n_workers) + 1).floor
|
133
|
+
print("[%*d] " % [@worker_id_width, worker.id])
|
134
|
+
end
|
135
|
+
|
131
136
|
def report_full_test_name(worker)
|
137
|
+
report_worker_id(worker) unless single_worker?
|
132
138
|
print("#{worker.suite_name}/#{worker.test_name}")
|
133
139
|
end
|
134
140
|
|
135
141
|
def report_test(worker, result)
|
136
142
|
report_marker(result)
|
137
|
-
|
143
|
+
report_worker_id(worker) unless single_worker?
|
138
144
|
puts(worker.suite_name)
|
139
145
|
print(" #{worker.test_name}")
|
140
146
|
report_test_result(result, worker.status)
|
data/lib/grntest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grntest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-09-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: diff-lcs
|