origen_testers 0.52.4 → 0.52.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68bd4c35fef793a404ccab7d41d8212fccbdc69e2b92f7cbcbf1c711cca27b64
|
4
|
+
data.tar.gz: d641609bc1bccd7476dbbdce14b01745726bfdc66062709d2991f3cdf8dd6d8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df597ce4879df80783faa634975b7c5531594d60a6f230fc6495927a384ea56e2608f004d3ae5ad4ddbe9cc31609324e4c2f0b410aaf9a003e148082e50f2431
|
7
|
+
data.tar.gz: f3f6c2d67eabb103d31f375262729cceb99170adaba9f38d2f567fbff6ad6b6c92cdf1708aebfe77dfdb761642304a96a642f8f244cc7f0709683a0a06acf1c4
|
data/config/version.rb
CHANGED
@@ -188,6 +188,9 @@ module OrigenTesters
|
|
188
188
|
if smt8?
|
189
189
|
return unless top_level? || options[:called_by_top_level]
|
190
190
|
super
|
191
|
+
# Refresh the ast before finalized gets set to true
|
192
|
+
# If ast gets called by the user the finalized flag will lock it to the incorrect value
|
193
|
+
ast
|
191
194
|
@finalized = true
|
192
195
|
# All flows have now been executed and the top-level contains the final AST.
|
193
196
|
# The AST contained in each child flow may not be complete since it has not been subject to the
|
@@ -375,6 +375,7 @@ end
|
|
375
375
|
Indicating step value is optional, default is 1.
|
376
376
|
|
377
377
|
These loops can also be nested:
|
378
|
+
|
378
379
|
~~~ruby
|
379
380
|
loop from: 0, to: 9, step: 2, var: '$LOOP_VARIABLE1'do
|
380
381
|
loop from: 1, to: 10, step: 1, var: '$LOOP_VARIABLE2' do
|
@@ -386,6 +387,7 @@ end
|
|
386
387
|
~~~
|
387
388
|
|
388
389
|
You can also indicate a test number increment if desired (default is 1):
|
390
|
+
|
389
391
|
~~~ruby
|
390
392
|
loop from: 0, to: 5, var: '$LOOP_VARIABLE', test_num_inc: 2 do
|
391
393
|
func :test_myloop3, number: 56200
|
@@ -393,6 +395,7 @@ end
|
|
393
395
|
~~~
|
394
396
|
|
395
397
|
You can also provide a variable starting point:
|
398
|
+
|
396
399
|
~~~ruby
|
397
400
|
loop from: '$TEST_VARIABLE', to: 5, var: '$LOOP_VARIABLE' do
|
398
401
|
func :test_myloop6, number: 56600
|
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.52.
|
4
|
+
version: 0.52.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|