test_ids 1.0.0 → 1.1.0
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/test_ids/origen_testers/flow.rb +1 -1
- data/lib/test_ids.rb +7 -1
- 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: f5dda875340a14998768dac93d34f66b019a8d0ad4f3eb6328bd1ad9b726e64b
|
4
|
+
data.tar.gz: e3e7aae1bb0b68c34a34cad431e5bbd9ca37f19d3697ea7feddac4c4b5c58a48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2ea76aef9f4e37d79a769549dff0858bd6942b928c389c3c4940ae35028ca37b1d944bfcc2a2f42f020d88e4f6ab14f9e750b7dc5bd9fca8cc062e39e0762b3
|
7
|
+
data.tar.gz: eb109af83f298ae6c15849637bb5a4daded69073a93df47a71ff9468e72954eb0fada2c06faa751b31d78221c1a80ea0f5d3b39b5106c5b336e1f46839b87bbd
|
data/config/version.rb
CHANGED
@@ -9,7 +9,7 @@ module OrigenTesters
|
|
9
9
|
def test(instance, options = {})
|
10
10
|
if TestIds.configured?
|
11
11
|
unless options[:test_ids] == :notrack
|
12
|
-
options[:test_ids_flow_id] = id
|
12
|
+
options[:test_ids_flow_id] = try(:top_level).try(:id) || id
|
13
13
|
|
14
14
|
TestIds.current_configuration.allocator.allocate(instance, options)
|
15
15
|
|
data/lib/test_ids.rb
CHANGED
@@ -71,7 +71,8 @@ module TestIds
|
|
71
71
|
# @api private
|
72
72
|
def inject_flow_id(options)
|
73
73
|
if Origen.interface_loaded?
|
74
|
-
|
74
|
+
flow = Origen.interface.flow
|
75
|
+
options[:test_ids_flow_id] = flow.try(:top_level).try(:id) || flow.id
|
75
76
|
end
|
76
77
|
end
|
77
78
|
|
@@ -128,6 +129,11 @@ module TestIds
|
|
128
129
|
@configuration_id = id
|
129
130
|
end
|
130
131
|
|
132
|
+
# Return an Array of configuration IDs
|
133
|
+
def configs
|
134
|
+
@configuration.ids
|
135
|
+
end
|
136
|
+
|
131
137
|
def bin_config=(id)
|
132
138
|
@bin_config = id
|
133
139
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_ids
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
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-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: 1.8.11
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.6
|
104
|
+
rubygems_version: 2.7.6
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Origen plugin to assign and track test program bins and test numbers
|