grntest 1.3.8 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5687bd68c8c8f714e4381ea8cc9a29f54e2133022920fbfed421e789697035e7
4
- data.tar.gz: 6cbbfa53172caeb06c8d59b99bbbb855112133b1acef6dc16bf84bc1d4c5d0f8
3
+ metadata.gz: 2822b1c9433f75a24a3a014a15121ad65cca7b95b6a8fa118113e9d48c00310a
4
+ data.tar.gz: 44acc076cbda2a13467a42fdf0d20563e02a4e78be9d49df75568db49755e31a
5
5
  SHA512:
6
- metadata.gz: 2a2fdee5d3dd4a5ebb5bc6fd9df6d3a64bd1160b5356ad122bf9d95fb31b97025a32780fd9e4e607b71d9126cc8494e7d048d6896fea8e105bc37da06b91f599
7
- data.tar.gz: 4f4ac7b8272a1d00f4eb50c27627e2b286dfa81c39218ccfb55eba8c596c7099ffe07ae27c33807892282c0a856415a97c9a82c8faf0a290ddc0f90e3911225b
6
+ metadata.gz: c0a8e5d24f2f0abab6341adb1d720a5388d3fdcc7e1dca087a2e9ba9a06e38949725a59a93b000e6764fb39f0b697eb91441c886924d98a7710728eb91bff592
7
+ data.tar.gz: fa91b9cb29195f678b11ad27102915a3f1b4bb576fa5a52bcceee12ea25f6ebbf800c0b355d97b6bd98a28cf0942040fd07662f9e8e4719c0d2c8bccf50220d0
data/doc/text/news.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # News
2
2
 
3
+ ## 1.3.9: 2020-05-09
4
+
5
+ ### Improvements
6
+
7
+ * Added `progress` reporter.
8
+
9
+ * Suppressed Apache Arrow related reports from Valgrind.
10
+
11
+ * Improved backtrace detection.
12
+
3
13
  ## 1.3.8: 2020-04-23
4
14
 
5
15
  ### Improvements
@@ -602,6 +602,8 @@ module Grntest
602
602
  true
603
603
  when /\A[a-zA-Z]:[\/\\]/
604
604
  true
605
+ when /\A\(unknown\):\d+:\d+: /
606
+ true
605
607
  when /\A(?:groonga|groonga-httpd)
606
608
  \((?:\+0x\h+|\w+\+0x\h+)?\)
607
609
  \s
@@ -0,0 +1,37 @@
1
+ # Copyright (C) 2020 Sutou Kouhei <kou@clear-code.com>
2
+ #
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
16
+ require "grntest/reporters/inplace-reporter"
17
+
18
+ module Grntest
19
+ module Reporters
20
+ class ProgressReporter < InplaceReporter
21
+ private
22
+ def draw_statistics_header_line
23
+ puts(statistics_header)
24
+ end
25
+
26
+ def draw_status_line(worker)
27
+ end
28
+
29
+ def draw_test_line(worker)
30
+ end
31
+
32
+ def n_worker_lines
33
+ 0
34
+ end
35
+ end
36
+ end
37
+ end
@@ -1,6 +1,4 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
- # Copyright (C) 2012-2015 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2012-2020 Sutou Kouhei <kou@clear-code.com>
4
2
  #
5
3
  # This program is free software: you can redistribute it and/or modify
6
4
  # it under the terms of the GNU General Public License as published by
@@ -19,6 +17,7 @@ require "grntest/reporters/mark-reporter"
19
17
  require "grntest/reporters/buffered-mark-reporter"
20
18
  require "grntest/reporters/stream-reporter"
21
19
  require "grntest/reporters/inplace-reporter"
20
+ require "grntest/reporters/progress-reporter"
22
21
 
23
22
  module Grntest
24
23
  module Reporters
@@ -33,6 +32,8 @@ module Grntest
33
32
  StreamReporter.new(tester)
34
33
  when :inplace
35
34
  InplaceReporter.new(tester)
35
+ when :progress
36
+ ProgressReporter.new(tester)
36
37
  end
37
38
  end
38
39
  end
@@ -297,6 +297,30 @@ call (int)chdir("#{context.temporary_directory_path}")
297
297
  match-leak-kinds: reachable
298
298
  ...
299
299
  fun:_dl_catch_error
300
+ }
301
+ {
302
+ _dl_init
303
+ Memcheck:Leak
304
+ match-leak-kinds: reachable
305
+ ...
306
+ fun:_dl_init
307
+ ...
308
+ }
309
+ {
310
+ _Z41__static_initialization_and_destruction_0ii
311
+ Memcheck:Leak
312
+ match-leak-kinds: reachable
313
+ ...
314
+ fun:_Z41__static_initialization_and_destruction_0ii
315
+ ...
316
+ }
317
+ {
318
+ je_arrow_private_je_background_thread_create
319
+ Memcheck:Leak
320
+ match-leak-kinds: possible
321
+ ...
322
+ fun:je_arrow_private_je_background_thread_create
323
+ ...
300
324
  }
301
325
  SUPPRESSIONS
302
326
  end
@@ -137,7 +137,13 @@ module Grntest
137
137
  diff_option_is_specified = true
138
138
  end
139
139
 
140
- available_reporters = [:mark, :"buffered-mark", :stream, :inplace]
140
+ available_reporters = [
141
+ :mark,
142
+ :"buffered-mark",
143
+ :stream,
144
+ :inplace,
145
+ :progress,
146
+ ]
141
147
  available_reporter_labels = available_reporters.join(", ")
142
148
  parser.on("--reporter=REPORTER", available_reporters,
143
149
  "Report test result by REPORTER",
@@ -371,7 +377,7 @@ module Grntest
371
377
  if @n_workers == 1
372
378
  :mark
373
379
  else
374
- :inplace
380
+ :progress
375
381
  end
376
382
  else
377
383
  @reporter
@@ -14,5 +14,5 @@
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module Grntest
17
- VERSION = "1.3.8"
17
+ VERSION = "1.3.9"
18
18
  end
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.3.8
4
+ version: 1.3.9
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: 2020-04-23 00:00:00.000000000 Z
12
+ date: 2020-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: diff-lcs
@@ -238,6 +238,7 @@ files:
238
238
  - lib/grntest/reporters/buffered-mark-reporter.rb
239
239
  - lib/grntest/reporters/inplace-reporter.rb
240
240
  - lib/grntest/reporters/mark-reporter.rb
241
+ - lib/grntest/reporters/progress-reporter.rb
241
242
  - lib/grntest/reporters/stream-reporter.rb
242
243
  - lib/grntest/response-parser.rb
243
244
  - lib/grntest/template-evaluator.rb