Skip to content

Commit 066197f

Browse files
pcaspersjenkins
authored andcommitted
QPR-12028 fix test setup
1 parent 69b4f17 commit 066197f

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

Examples/run_examples_testsuite.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def compAllFiles(self, comp_config):
5050
self.logger.warning('No ExpectedOutput folder detected, skipped.')
5151

5252
def runAndRegressExample(self, name):
53-
os.environ['OVERWRITE_SCENARIOGENERATOR_SAMPLES'] = '50'
53+
if not name.endswith('Example_54'):
54+
os.environ['OVERWRITE_SCENARIOGENERATOR_SAMPLES'] = '50'
5455
self.logger.info('{}: run {}'.format(self._testMethodName, name))
5556
ret = run_example(name)
5657
os.environ['OVERWRITE_SCENARIOGENERATOR_SAMPLES'] = ''

Tools/PythonTools/comparison_config.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,21 @@
10591059
}
10601060
]
10611061
},
1062+
"xvacg-exposure.csv": {
1063+
"keys": [
1064+
"Date"
1065+
],
1066+
"column_settings": [
1067+
{
1068+
"names": [
1069+
"EPE",
1070+
"ENE"
1071+
],
1072+
"abs_tol": 0.1,
1073+
"rel_tol": 0.0001
1074+
}
1075+
]
1076+
},
10621077
".*xva.*\\.csv": {
10631078
"keys": [
10641079
"TradeId",
@@ -1264,21 +1279,6 @@
12641279
"rel_tol": 1e-6
12651280
}
12661281
]
1267-
},
1268-
"xvacg-exposure.csv": {
1269-
"keys": [
1270-
"Date"
1271-
],
1272-
"column_settings": [
1273-
{
1274-
"names": [
1275-
"EPE",
1276-
"ENE"
1277-
],
1278-
"abs_tol": 0.1,
1279-
"rel_tol": 0.0001
1280-
}
1281-
]
12821282
}
12831283
}
12841284
},

0 commit comments

Comments
 (0)