origen_std_lib 0.8.3 → 0.9.0

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
  SHA1:
3
- metadata.gz: dc5cfbf0517c6c0801a8ba6e583e3b00dade890b
4
- data.tar.gz: 6ac11fe7c8c8ff856513f3b91e61c37e5c11a784
3
+ metadata.gz: 90e033ed9a86e3be90b87659b9c9e5dc7f861240
4
+ data.tar.gz: b24eb49d30dba303bf7660150872b8a7a82269ff
5
5
  SHA512:
6
- metadata.gz: 0cca04c1ad996e0bdf053a200670e6da4e4a484fd9fbdd6201b126fc88275bbe17245b9e5382b333a3402042974a19d6bf4b6270a4d6c8e95318d26ae01f2faf
7
- data.tar.gz: 8a26ac62f31bbc401fe7e5bbec265f0ff7ad79f1ebb7da44de849705d102aa7849c5841ee61f06f9ba58e7ccb564c56361f3e0f03e2f6c68a589c3f38b9db4fa
6
+ metadata.gz: ebca35973aa2876aa8d8d9586958ea342d305e2c963aa0948afb62dfaf64160937b514e01bca3bf1716705ceb953af207bff30935337b4a8cde3ed46ef89e05e
7
+ data.tar.gz: 4f134a1d9a9013d8217b93bae014dd4f42e34b9729b9c6ca6f7493f54db7246d56b54e4c4729f9bfe91ed7efbbac7d0b577acb7cd6075de4e0fd17c459f5ca60
@@ -1,7 +1,7 @@
1
1
  module OrigenStdLib
2
2
  MAJOR = 0
3
- MINOR = 8
4
- BUGFIX = 3
3
+ MINOR = 9
4
+ BUGFIX = 0
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -1,7 +1,7 @@
1
1
  #ifndef ORIGEN_HPP_INCLUDED
2
2
  #define ORIGEN_HPP_INCLUDED
3
3
 
4
- #define ORIGEN_VERSION "0.8.3"
4
+ #define ORIGEN_VERSION "0.9.0"
5
5
 
6
6
  #ifndef debugger
7
7
  #define debugger __asm__("int $3");
@@ -36,6 +36,11 @@ protected:
36
36
  return GET_LIMIT_OBJECT("Functional");
37
37
  }
38
38
 
39
+ // Returns the base test number
40
+ int testnumber() {
41
+ return GET_TESTNUMBER("Functional").getOffset();
42
+ }
43
+
39
44
  /// Returns the high limit value in whole units, i.e. A or V
40
45
  double hiLimit() {
41
46
  double lim = 0.0;
@@ -39,8 +39,6 @@ void DCMeasurement::execute() {
39
39
  int site, physicalSites;
40
40
  ARRAY_I sites;
41
41
 
42
- RDI_INIT();
43
-
44
42
  pin(extractPinsFromGroup(_pin));
45
43
 
46
44
  ON_FIRST_INVOCATION_BEGIN();
@@ -156,14 +154,14 @@ void DCMeasurement::execute() {
156
154
  void DCMeasurement::serialProcessing(int site) {
157
155
  if (_processResults) {
158
156
  logFunctionalTest(testSuiteName, site, funcResultsPre[site] == 1, label);
159
- TESTSET().cont(true).judgeAndLog_FunctionalTest(funcResultsPre[site] == 1);
157
+ TESTSET().testnumber(testnumber()).cont(true).judgeAndLog_FunctionalTest(funcResultsPre[site] == 1);
160
158
 
161
159
  logParametricTest(testSuiteName, site, filterResult(results[site]), limits(), _pin);
162
- TESTSET().judgeAndLog_ParametricTest(_pin, testSuiteName, limits(), filterResult(results[site]));
160
+ TESTSET().testnumber(testnumber() + 1).judgeAndLog_ParametricTest(_pin, testSuiteName, limits(), filterResult(results[site]));
163
161
 
164
162
  if (_applyShutdown && _checkShutdown) {
165
163
  logFunctionalTest(testSuiteName, site, funcResultsPost[site] == 1, _shutdownPattern);
166
- TESTSET().cont(true).judgeAndLog_FunctionalTest(funcResultsPost[site] == 1);
164
+ TESTSET().testnumber(testnumber() + 1).cont(true).judgeAndLog_FunctionalTest(funcResultsPost[site] == 1);
167
165
  }
168
166
  }
169
167
  }
@@ -31,8 +31,6 @@ void FrequencyMeasurement::execute() {
31
31
  int site, physicalSites;
32
32
  ARRAY_I sites;
33
33
 
34
- RDI_INIT();
35
-
36
34
  ON_FIRST_INVOCATION_BEGIN();
37
35
 
38
36
  enableHiddenUpload();
@@ -79,10 +77,10 @@ void FrequencyMeasurement::serialProcessing(int site) {
79
77
  result = calculateFrequency(captureData, _periodInNs);
80
78
  }
81
79
  logFunctionalTest(testSuiteName, site, funcResults[site] == 1, label);
82
- TESTSET().judgeAndLog_FunctionalTest(funcResults[site] == 1);
80
+ TESTSET().testnumber(testnumber()).judgeAndLog_FunctionalTest(funcResults[site] == 1);
83
81
 
84
82
  logParametricTest(testSuiteName, site, filterResult(result), limits(), _pin);
85
- TESTSET().judgeAndLog_ParametricTest(_pin, testSuiteName, limits(), filterResult(result));
83
+ TESTSET().testnumber(testnumber() + 1).judgeAndLog_ParametricTest(_pin, testSuiteName, limits(), filterResult(result));
86
84
  }
87
85
  }
88
86
 
@@ -32,7 +32,6 @@ void FunctionalTest::execute() {
32
32
  int site, physicalSites;
33
33
  ARRAY_I sites;
34
34
 
35
- RDI_INIT();
36
35
  ON_FIRST_INVOCATION_BEGIN();
37
36
 
38
37
  enableHiddenUpload();
@@ -101,7 +100,7 @@ void FunctionalTest::serialProcessing(int site) {
101
100
  if (_processResults) {
102
101
  // cout << "POST " << site << ": " << results[site] << endl;
103
102
  logFunctionalTest(testSuiteName, site, results[site] == 1, label);
104
- TESTSET().judgeAndLog_FunctionalTest(results[site] == 1);
103
+ TESTSET().testnumber(testnumber()).judgeAndLog_FunctionalTest(results[site] == 1);
105
104
  }
106
105
  }
107
106
 
@@ -92,6 +92,8 @@ protected:
92
92
  */
93
93
  virtual void run()
94
94
  {
95
+ RDI_INIT();
96
+
95
97
  origen.applyShutdown(mApplyShutdown)
96
98
  .forceValue(mForceValue)
97
99
  .shutdownPattern(mShutdownPattern)
@@ -61,6 +61,8 @@ protected:
61
61
  */
62
62
  virtual void run()
63
63
  {
64
+ RDI_INIT();
65
+
64
66
  origen.periodBased(mPeriodBased)
65
67
  .pin(mPin)
66
68
  .samples(mSamples)
@@ -30,6 +30,8 @@ protected:
30
30
  *This test is invoked per site.
31
31
  */
32
32
  virtual void run() {
33
+ RDI_INIT();
34
+
33
35
  origen.execute();
34
36
 
35
37
  // string label = Primary.getLabel();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_std_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.9.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: 2017-04-21 00:00:00.000000000 Z
11
+ date: 2017-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: 1.8.11
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.5.2
115
+ rubygems_version: 2.6.7
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Test program interface drivers for the Origen tester standard library