Skip to content

Commit 6a12a44

Browse files
committed
use multiple options in test easystack file + fix test_easystack_easyconfig_opts
1 parent 2f63290 commit 6a12a44

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/framework/easystack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def test_easystack_easyconfig_opts(self):
114114
'toy-0.0-gompi-2018a-test.eb',
115115
]
116116
expected_opts = {
117-
'binutils-2.25-GCCcore-4.9.3.eb': {'debug': True},
118-
'foss-2018a.eb': {'robot': True},
117+
'binutils-2.25-GCCcore-4.9.3.eb': {'debug': True, 'from-pr': 12345},
118+
'foss-2018a.eb': {'enforce-checksums': True, 'robot': True},
119119
}
120120
self.assertEqual(sorted(ec_fns), sorted(expected))
121121
self.assertEqual(opts, expected_opts)

test/framework/easystacks/test_easystack_easyconfigs_opts.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ easyconfigs:
22
- binutils-2.25-GCCcore-4.9.3:
33
options: {
44
'debug': True,
5+
'from-pr': 12345,
56
}
67
- binutils-2.26-GCCcore-4.9.3
78
- foss-2018a:
89
options: {
10+
'enforce-checksums': True,
911
'robot': True,
1012
}
1113
- toy-0.0-gompi-2018a-test

0 commit comments

Comments
 (0)