origen_std_lib 0.9.0 → 0.10.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 +4 -4
- data/config/version.rb +1 -1
- data/stdlib/v93k/origen/origen.hpp +1 -1
- data/stdlib/v93k/origen/origen/test_method/dc_measurement.cpp +2 -2
- data/stdlib/v93k/origen/origen/test_method/frequency_measurement.cpp +1 -1
- data/stdlib/v93k/origen/origen/test_method/functional_test.cpp +9 -2
- data/stdlib/v93k/origen/origen/test_method/functional_test.hpp +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eadbc4a0b2fcc29034f683af9e445734b77c33a0
|
4
|
+
data.tar.gz: 44f4f6b42699e19027062da331d333a22a289b1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01ed8d65d50cd94b129f3c81428fe564d65b53ca17463a5f9eec024d7f9890cb386b2673f2dc1cb107ee01079271aab54579bb90d7b4746e522ec1ab34774ba1
|
7
|
+
data.tar.gz: 5542819ce7d70fb88193e112a2c9854ae5112e10cb7b3547feed65844c6eb80d9deda49c4e94df37a3bf48ea33f940703233efb8fb589eb19dd50374c37598ab
|
data/config/version.rb
CHANGED
@@ -154,14 +154,14 @@ void DCMeasurement::execute() {
|
|
154
154
|
void DCMeasurement::serialProcessing(int site) {
|
155
155
|
if (_processResults) {
|
156
156
|
logFunctionalTest(testSuiteName, site, funcResultsPre[site] == 1, label);
|
157
|
-
TESTSET().testnumber(testnumber()).cont(true).judgeAndLog_FunctionalTest(funcResultsPre[site] == 1);
|
157
|
+
TESTSET().testnumber(testnumber()).cont(true).testname(testSuiteName + "_PRE").judgeAndLog_FunctionalTest(funcResultsPre[site] == 1);
|
158
158
|
|
159
159
|
logParametricTest(testSuiteName, site, filterResult(results[site]), limits(), _pin);
|
160
160
|
TESTSET().testnumber(testnumber() + 1).judgeAndLog_ParametricTest(_pin, testSuiteName, limits(), filterResult(results[site]));
|
161
161
|
|
162
162
|
if (_applyShutdown && _checkShutdown) {
|
163
163
|
logFunctionalTest(testSuiteName, site, funcResultsPost[site] == 1, _shutdownPattern);
|
164
|
-
TESTSET().testnumber(testnumber() +
|
164
|
+
TESTSET().testnumber(testnumber() + 2).cont(true).testname(testSuiteName + "_POST").judgeAndLog_FunctionalTest(funcResultsPost[site] == 1);
|
165
165
|
}
|
166
166
|
}
|
167
167
|
}
|
@@ -77,7 +77,7 @@ void FrequencyMeasurement::serialProcessing(int site) {
|
|
77
77
|
result = calculateFrequency(captureData, _periodInNs);
|
78
78
|
}
|
79
79
|
logFunctionalTest(testSuiteName, site, funcResults[site] == 1, label);
|
80
|
-
TESTSET().testnumber(testnumber()).judgeAndLog_FunctionalTest(funcResults[site] == 1);
|
80
|
+
TESTSET().testnumber(testnumber()).testname(testSuiteName).judgeAndLog_FunctionalTest(funcResults[site] == 1);
|
81
81
|
|
82
82
|
logParametricTest(testSuiteName, site, filterResult(result), limits(), _pin);
|
83
83
|
TESTSET().testnumber(testnumber() + 1).judgeAndLog_ParametricTest(_pin, testSuiteName, limits(), filterResult(result));
|
@@ -11,6 +11,7 @@ FunctionalTest::FunctionalTest() {
|
|
11
11
|
capture(0);
|
12
12
|
processResults(1);
|
13
13
|
bitPerWord(1);
|
14
|
+
pattern("");
|
14
15
|
}
|
15
16
|
|
16
17
|
FunctionalTest::~FunctionalTest() { }
|
@@ -23,6 +24,8 @@ FunctionalTest & FunctionalTest::pin(string v) { _pin = v; return *this; }
|
|
23
24
|
FunctionalTest & FunctionalTest::bitPerWord(int v) { _bitPerWord = v; return *this; }
|
24
25
|
/// When set to 0 the results of the test will not be judged or logged
|
25
26
|
FunctionalTest & FunctionalTest::processResults(int v) { _processResults = v; return *this; }
|
27
|
+
/// Override the pattern argument from the test suite
|
28
|
+
FunctionalTest & FunctionalTest::pattern(string v) { _pattern = v; return *this; }
|
26
29
|
|
27
30
|
// All test methods must implement this function
|
28
31
|
FunctionalTest & FunctionalTest::getThis() { return *this; }
|
@@ -41,7 +44,11 @@ void FunctionalTest::execute() {
|
|
41
44
|
GET_TESTSUITE_NAME(testSuiteName);
|
42
45
|
// testSuiteName = testSuiteName + toStr(CURRENT_SITE_NUMBER());
|
43
46
|
// cout << testSuiteName << endl;
|
44
|
-
|
47
|
+
if (_pattern == "") {
|
48
|
+
label = Primary.getLabel();
|
49
|
+
} else {
|
50
|
+
label = _pattern;
|
51
|
+
}
|
45
52
|
|
46
53
|
if (_capture) {
|
47
54
|
pinName = extractPinsFromGroup(_pin);
|
@@ -100,7 +107,7 @@ void FunctionalTest::serialProcessing(int site) {
|
|
100
107
|
if (_processResults) {
|
101
108
|
// cout << "POST " << site << ": " << results[site] << endl;
|
102
109
|
logFunctionalTest(testSuiteName, site, results[site] == 1, label);
|
103
|
-
TESTSET().testnumber(testnumber()).judgeAndLog_FunctionalTest(results[site] == 1);
|
110
|
+
TESTSET().testnumber(testnumber()).testname(testSuiteName).judgeAndLog_FunctionalTest(results[site] == 1);
|
104
111
|
}
|
105
112
|
}
|
106
113
|
|
@@ -17,6 +17,7 @@ class FunctionalTest: public Base {
|
|
17
17
|
int _capture;
|
18
18
|
int _bitPerWord;
|
19
19
|
int _processResults;
|
20
|
+
string _pattern;
|
20
21
|
|
21
22
|
public:
|
22
23
|
FunctionalTest();
|
@@ -29,7 +30,7 @@ public:
|
|
29
30
|
FunctionalTest & pin(string v);
|
30
31
|
FunctionalTest & bitPerWord(int v);
|
31
32
|
FunctionalTest & processResults(int v);
|
32
|
-
|
33
|
+
FunctionalTest & pattern(string v);
|
33
34
|
|
34
35
|
protected:
|
35
36
|
FunctionalTest & getThis();
|
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.
|
4
|
+
version: 0.10.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-
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|