grntest 1.7.5 → 1.7.6
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 +7 -0
- data/lib/grntest/executors/base-executor.rb +19 -0
- 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: 06a66bab760554a0f1a4ba6698d87c9702ed6abd0fa0d0301634eabd28668c0f
|
4
|
+
data.tar.gz: 5ed8466037e39813ffe988dff011cefca9ce3abf688e2f63fd99c2e111daa257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e1bcf1a86c228069020bd5453f8ff90e79f7103b83950ca6eeaa8d4b6f7609430a549bf2dd4e224ae474a2e25c4765ce859a0ae74d60fe3c08cfd54f2a1095
|
7
|
+
data.tar.gz: ede6349f7555fd317abebf1d5ae7c513a62b12a121f118288d23c62a5564d6b2a18e1f2cbadf478e4516f3130e931196e2b7b1bd51f1a80fb671cf501a8467f1
|
data/doc/text/news.md
CHANGED
@@ -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,14 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
- Haruka Yoshihara
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diff-lcs
|