origen_testers 0.48.2 → 0.48.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c67bc8fcc8e5ee79fccb2b53ab691ce22f5635811bedcb2cc6cbd6a247d0af7
|
4
|
+
data.tar.gz: 94966a015d097731c5a8320bbe2f0f8d7238b988151af466b213c2017e3f1c53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4628a25c96b619ddc665fc49c958468f9192ea16af3609d04cbb40f27ef714e13ccfba33a111b632e1842f7fb70018eb6665a70f57bfcdc316e829bd1cd1560c
|
7
|
+
data.tar.gz: 7fa99d5a51d669bb845bc529d91dcf69a77c19851313b1cacfca0e1d704f122c23dda8f7495de9893af6ab89103ea2e2648eaa5561cad96ddf2269fdc8f73a4f
|
data/config/version.rb
CHANGED
@@ -23,6 +23,7 @@ module OrigenTesters
|
|
23
23
|
limit.type = :use_limit
|
24
24
|
limit.opcode = 'Use-Limit'
|
25
25
|
limit.parameter = nil
|
26
|
+
limit.tnum = nil # Don't duplate test numbers, allow auto-increment by leaving blank
|
26
27
|
if ins.respond_to?(:lo_limit)
|
27
28
|
lo = ins.lo_limit
|
28
29
|
hi = ins.hi_limit
|
@@ -36,7 +36,7 @@ module OrigenTesters
|
|
36
36
|
unless options[:subroutine_pat]
|
37
37
|
stage.with_bank(:body) do
|
38
38
|
# find the first vector
|
39
|
-
stage.bank.delete_at(0) until stage.bank[0].is_a?(OrigenTesters::Vector)
|
39
|
+
stage.bank.delete_at(0) until stage.bank[0].is_a?(OrigenTesters::Vector) || stage.bank.empty?
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Flow to exercise the Flow Control API
|
2
|
+
#
|
3
|
+
# Some of the other flows also cover the flow control API and those tests are used
|
4
|
+
# to guarantee that the test ID references work when sub-flows are involved.
|
5
|
+
# This flow provides a full checkout of all flow control methods.
|
6
|
+
Flow.create interface: 'OrigenTesters::Test::Interface', flow_name: "Flow Control Testing" do
|
7
|
+
flow.flow_description = 'Flow to exercise the Flow Control API' if tester.v93k?
|
8
|
+
|
9
|
+
self.resources_filename = 'flow_control'
|
10
|
+
|
11
|
+
log "Mixed-case manual flags"
|
12
|
+
test :test1, on_fail: { set_flag: :$My_Mixed_Flag }, continue: true, number: 51420
|
13
|
+
test :test2, if_flag: "$My_Mixed_Flag", number: 51430
|
14
|
+
unless_flag "$My_Mixed_Flag" do
|
15
|
+
test :test3, number: 51440
|
16
|
+
end
|
17
|
+
|
18
|
+
log "Mixed-case manual flags - induce frozen string error"
|
19
|
+
test :test4, on_fail: { set_flag: :$My_Mixed_Flag }, continue: true, number: 51450
|
20
|
+
test :test5, if_flag: "$My_Mixed_Flag", number: 51460
|
21
|
+
unless_flag "$My_Mixed_Flag" do
|
22
|
+
test :test6, number: 51470
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
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.48.
|
4
|
+
version: 0.48.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: 2021-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|
@@ -516,6 +516,7 @@ files:
|
|
516
516
|
- program/components/_temp.rb
|
517
517
|
- program/custom_tests.rb
|
518
518
|
- program/flow_control.rb
|
519
|
+
- program/flow_control_flag_bug.rb
|
519
520
|
- program/prb1.rb
|
520
521
|
- program/prb1_resources.rb
|
521
522
|
- program/prb2.rb
|