origen_testers 0.49.2 → 0.49.3
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 +4 -4
- data/config/version.rb +1 -1
- data/lib/origen_testers/charz/profile.rb +13 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 44d3544735522514276c1f11198d48015f587645bb434cb5ff5e1cd877dd799c
|
|
4
|
+
data.tar.gz: 99b3a18e65bd837febf9b9d6cfa1043f447c5cbc02aec73902c35312d2e9f266
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87fb0d43358361dc87fb0db076c75050edfd26c4e4e5c8b62eb21d4794f4a5efe314a019cf7ede6e1d93f31184829e52cf50852c8aac9ffc573bceb97a9eba0e
|
|
7
|
+
data.tar.gz: d3ff0b325eecffe7a7f61cdc16473fd737b798cfa8dc5c7404ff60831407bdc441bcc158975cf9e34c0110c191287f05d03b056e8f2962bb6fdc7e4e278b37eb
|
data/config/version.rb
CHANGED
|
@@ -35,6 +35,19 @@ module OrigenTesters
|
|
|
35
35
|
def attrs_ok?
|
|
36
36
|
return if @quality_check == false
|
|
37
37
|
|
|
38
|
+
unless @routines.is_a?(Array)
|
|
39
|
+
Origen.log.error "Profile #{id}: routines is expected to be of type <Array>, but is instead of type <#{@routines.class}>!"
|
|
40
|
+
fail
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# allowing a config for empty routines for usecase of
|
|
44
|
+
# determining routines on the fly dynamically
|
|
45
|
+
if @routines.empty? && !@allow_empty_routines
|
|
46
|
+
Origen.log.error "Profile #{id}: routines array is empty!"
|
|
47
|
+
Origen.log.warn "If you'd like to enable profile creation without routines, set the profile's @allow_empty_routines attribute to true"
|
|
48
|
+
fail
|
|
49
|
+
end
|
|
50
|
+
|
|
38
51
|
unknown_routines = @routines - @defined_routines
|
|
39
52
|
unless unknown_routines.empty?
|
|
40
53
|
Origen.log.error "Profile #{id}: unknown routines: #{unknown_routines}"
|
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.49.
|
|
4
|
+
version: 0.49.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: 2021-09-
|
|
11
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: origen
|
|
@@ -599,7 +599,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
599
599
|
- !ruby/object:Gem::Version
|
|
600
600
|
version: '0'
|
|
601
601
|
requirements: []
|
|
602
|
-
rubygems_version: 3.1
|
|
602
|
+
rubygems_version: 3.0.1
|
|
603
603
|
signing_key:
|
|
604
604
|
specification_version: 4
|
|
605
605
|
summary: This plugin provides Origen tester models to drive ATE type testers like
|