grntest 1.7.5 → 1.7.7
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 +16 -0
- data/grntest.gemspec +1 -1
- data/lib/grntest/executors/base-executor.rb +19 -0
- data/lib/grntest/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 417256a76006a053e9a8222481058f0435ad42d88087880a6b92814861cd8cc4
|
4
|
+
data.tar.gz: 6566eed404fb51944bcaf4a3c359f3fadf7e386dbaa1864a45287114a69834d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 736f768bc6cf5e4cf4d1804b1ad54bdbf1e5e1962a5f6d7a8e76f01cdf00931d3c009dc9de8f8a920d5f3c4dd7476ce11479a4e14a63a36656ad68a10efef6ac
|
7
|
+
data.tar.gz: 758b54b31db6f51624b32b645b3a51fe2e6863f3fefdf139e47a9dd3d99f0beafe93d591c1eab166d1379ded4e68b92578f46ef5c04b6429e1d023b9eec2c579
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.7.7: 2024-11-12
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Required json 2.8.1 or later. Because json 2.8.0 changed
|
8
|
+
`JSON.pretty_generate` result.
|
9
|
+
* Note that this broke existing tests. We need to update
|
10
|
+
`.expected` contents with new output.
|
11
|
+
|
12
|
+
## 1.7.6: 2024-09-25
|
13
|
+
|
14
|
+
### Improvements
|
15
|
+
|
16
|
+
* `#@require-os`: Added to run tests only when Groonga is built for
|
17
|
+
the given OS.
|
18
|
+
|
3
19
|
## 1.7.5: 2024-04-12
|
4
20
|
|
5
21
|
### Improvements
|
data/grntest.gemspec
CHANGED
@@ -49,7 +49,7 @@ Gem::Specification.new do |spec|
|
|
49
49
|
spec.add_runtime_dependency("groonga-log")
|
50
50
|
spec.add_runtime_dependency("groonga-query-log", ">= 1.4.1")
|
51
51
|
spec.add_runtime_dependency("groonga-synonym")
|
52
|
-
spec.add_runtime_dependency("json")
|
52
|
+
spec.add_runtime_dependency("json", ">= 2.8.1")
|
53
53
|
spec.add_runtime_dependency("msgpack")
|
54
54
|
spec.add_runtime_dependency("rexml")
|
55
55
|
|
@@ -562,6 +562,23 @@ module Grntest
|
|
562
562
|
end
|
563
563
|
end
|
564
564
|
|
565
|
+
def os
|
566
|
+
status_response["os"]
|
567
|
+
end
|
568
|
+
|
569
|
+
def execute_directive_require_os(line, content, options)
|
570
|
+
required_os, = options
|
571
|
+
if required_os.start_with?("!")
|
572
|
+
if required_os[1..-1] == os
|
573
|
+
omit("require OS: #{required_os} (#{os})")
|
574
|
+
end
|
575
|
+
else
|
576
|
+
unless required_os == os
|
577
|
+
omit("require OS: #{required_os} (#{os})")
|
578
|
+
end
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
565
582
|
def execute_directive(parser, line, content)
|
566
583
|
command, *options = Shellwords.split(content)
|
567
584
|
case command
|
@@ -627,6 +644,8 @@ module Grntest
|
|
627
644
|
execute_directive_finish_benchmark(line, content, options)
|
628
645
|
when "require-env"
|
629
646
|
execute_directive_require_env(line, content, options)
|
647
|
+
when "require-os"
|
648
|
+
execute_directive_require_os(line, content, options)
|
630
649
|
else
|
631
650
|
log_input(line)
|
632
651
|
log_error("#|e| unknown directive: <#{command}>")
|
data/lib/grntest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grntest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.7
|
5
5
|
platform: ruby
|
6
|
+
original_platform: ''
|
6
7
|
authors:
|
7
8
|
- Kouhei Sutou
|
8
9
|
- Haruka Yoshihara
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2024-
|
12
|
+
date: 2024-11-12 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: diff-lcs
|
@@ -100,14 +101,14 @@ dependencies:
|
|
100
101
|
requirements:
|
101
102
|
- - ">="
|
102
103
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
104
|
+
version: 2.8.1
|
104
105
|
type: :runtime
|
105
106
|
prerelease: false
|
106
107
|
version_requirements: !ruby/object:Gem::Requirement
|
107
108
|
requirements:
|
108
109
|
- - ">="
|
109
110
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
111
|
+
version: 2.8.1
|
111
112
|
- !ruby/object:Gem::Dependency
|
112
113
|
name: msgpack
|
113
114
|
requirement: !ruby/object:Gem::Requirement
|