origen_testers 0.44.1 → 0.45.0
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 +5 -5
- data/config/version.rb +2 -2
- data/lib/origen_testers/flow.rb +4 -0
- data/lib/origen_testers/generator.rb +5 -0
- data/lib/origen_testers/origen_ext/generator/flow.rb +2 -1
- data/program/flow_control.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8b44759a776d8a921046c939da268fd8c71b167b
|
4
|
+
data.tar.gz: 7176f9ed7292135db6aeeed62509ef0963157b25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9ebfe0cf112a2373511c6e5964955a9c8279554bf2b66d1873b6dd4e87119cfeca81c3f6287b594d5e8de96fa386ae4d4e59cb81fd9d87fb03196d9503d2d53
|
7
|
+
data.tar.gz: 70db80333244e5d1245efc9c5d84666e2c20cd80aa5a5cc8664804441187428a3113f811b2f9bfb1266a16b669ebac64b86bba048cf546d40095e6c2b26c6d55
|
data/config/version.rb
CHANGED
data/lib/origen_testers/flow.rb
CHANGED
@@ -255,6 +255,9 @@ module OrigenTesters
|
|
255
255
|
|
256
256
|
# Import sub-program
|
257
257
|
def import(file, options = {})
|
258
|
+
options = {
|
259
|
+
name: nil
|
260
|
+
}.merge(options)
|
258
261
|
file = Pathname.new(file).absolute? ? file : "#{current_dir}/#{file}"
|
259
262
|
file = Origen.file_handler.add_rb_to(file) # add .rb to filename if missing
|
260
263
|
orig_file = "#{file}" # capture original filename possibly without pre-pended underscore
|
@@ -271,6 +274,8 @@ module OrigenTesters
|
|
271
274
|
end
|
272
275
|
end
|
273
276
|
|
277
|
+
OrigenTesters::Flow.name_stack << options[:name]
|
278
|
+
|
274
279
|
base_collection = collection
|
275
280
|
@collection = []
|
276
281
|
Origen.generator.option_pipeline << options
|
@@ -12,7 +12,8 @@ module Origen
|
|
12
12
|
# of the ATP AST originated from
|
13
13
|
def create(options = {}, &block)
|
14
14
|
options = {
|
15
|
-
reload_target: true
|
15
|
+
reload_target: true,
|
16
|
+
name: OrigenTesters::Flow.name_stack.pop
|
16
17
|
}.merge(options)
|
17
18
|
# Patch for Windows operation since the path can start with something like "C:/"
|
18
19
|
if caller[0] =~ /(:(\/|\\))/
|
data/program/flow_control.rb
CHANGED
@@ -467,7 +467,7 @@ Flow.create interface: 'OrigenTesters::Test::Interface', flow_name: "Flow Contro
|
|
467
467
|
log 'Test of a real life case which was found to have problems'
|
468
468
|
unless_enable "eword1" do
|
469
469
|
unless_enable "eword2" do
|
470
|
-
import 'components/small', number: 53000
|
470
|
+
import 'components/small', number: 53000, name: 'user_specified_sub_flow_name'
|
471
471
|
end
|
472
472
|
if_enable "eword2" do
|
473
473
|
import 'components/small', number: 54000
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen_testers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.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: 2020-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|
@@ -546,7 +546,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
546
546
|
version: '0'
|
547
547
|
requirements: []
|
548
548
|
rubyforge_project:
|
549
|
-
rubygems_version: 2.
|
549
|
+
rubygems_version: 2.6.12
|
550
550
|
signing_key:
|
551
551
|
specification_version: 4
|
552
552
|
summary: This plugin provides Origen tester models to drive ATE type testers like
|