atp 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/config/version.rb +1 -1
- data/lib/atp/flow.rb +11 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a93029303e62d3ae4fd5d567c2d0aabbb5a8705cd265a1d8793685759d730439
|
4
|
+
data.tar.gz: c3cacf019890d6b9d028d22b4eb22b2a7e5a627a7569a1616a5081ff680e9f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67ab728749a285ba53f1315bffb99743e763179aacee950a4c0396b3679faee1d38264893718d609f6a2685ad7b7e2a6dd1ef34681d62d5f079ea1e214892927
|
7
|
+
data.tar.gz: 884dd72d251267c2183a96d08bce8c76761bf2ed1b2bf71df65bb251277f96aa57b5122c23279c735dc4b59bcaadc4c44dbf045900bc9120936195a99d1bce65
|
data/config/version.rb
CHANGED
data/lib/atp/flow.rb
CHANGED
@@ -255,6 +255,10 @@ module ATP
|
|
255
255
|
options[:on_fail] ||= {}
|
256
256
|
options[:on_fail][:bin_description] = b
|
257
257
|
end
|
258
|
+
if b = options.delete(:bin_attrs)
|
259
|
+
options[:on_fail] ||= {}
|
260
|
+
options[:on_fail][:bin_attrs] = b
|
261
|
+
end
|
258
262
|
if b = options.delete(:softbin) || b = options.delete(:sbin) || b = options.delete(:soft_bin)
|
259
263
|
options[:on_fail] ||= {}
|
260
264
|
options[:on_fail][:softbin] = b
|
@@ -700,6 +704,7 @@ module ATP
|
|
700
704
|
fail_opts = { bin: options[:bin], softbin: options[:softbin] }
|
701
705
|
fail_opts[:bin_description] = options[:bin_description] if options[:bin_description]
|
702
706
|
fail_opts[:softbin_description] = options[:softbin_description] if options[:softbin_description]
|
707
|
+
fail_opts[:bin_attrs] = options[:bin_attrs] if options[:bin_attrs]
|
703
708
|
children << set_result(:fail, fail_opts)
|
704
709
|
end
|
705
710
|
if options[:set_run_flag] || options[:set_flag]
|
@@ -722,6 +727,7 @@ module ATP
|
|
722
727
|
pass_opts = { bin: options[:bin], softbin: options[:softbin] }
|
723
728
|
pass_opts[:bin_description] = options[:bin_description] if options[:bin_description]
|
724
729
|
pass_opts[:softbin_description] = options[:softbin_description] if options[:softbin_description]
|
730
|
+
pass_opts[:bin_attrs] = options[:bin_attrs] if options[:bin_attrs]
|
725
731
|
children << set_result(:pass, pass_opts)
|
726
732
|
end
|
727
733
|
if options[:set_run_flag] || options[:set_flag]
|
@@ -770,6 +776,11 @@ module ATP
|
|
770
776
|
else
|
771
777
|
children << n1(:softbin, options[:softbin]) if options[:softbin]
|
772
778
|
end
|
779
|
+
if options[:bin_attrs]
|
780
|
+
options[:bin_attrs].each do |key, val|
|
781
|
+
children << n1(key, val)
|
782
|
+
end
|
783
|
+
end
|
773
784
|
n(:set_result, children)
|
774
785
|
end
|
775
786
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: 1.8.11
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
129
|
+
rubygems_version: 2.7.7
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: An abstract test program model for Origen
|