Skip to content

Commit 458ba24

Browse files
committed
fix wrong usage of modextrapaths in toy-0.0-gompi-2018a-test.eb by using modextravars
1 parent 3d20625 commit 458ba24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/framework/easyconfigs/test_ecs/t/toy/toy-0.0-gompi-2018a-test.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ sanity_check_paths = {
6060
'dirs': [],
6161
}
6262

63-
modextrapaths = {'TOY_EXAMPLES': 'examples'}
63+
modextravars = {'TOY_EXAMPLES': 'examples'}
6464

6565
postinstallcmds = ["echo TOY > %(installdir)s/README"]
6666

test/framework/toy_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ def test_toy_advanced(self):
12241224
toy_libs_path = os.path.join(toy_installdir, 'toy_libs_path.txt')
12251225
self.assertTrue(os.path.exists(toy_libs_path))
12261226
txt = read_file(toy_libs_path)
1227-
regex = re.compile('^TOY_EXAMPLES=.*/examples$')
1227+
regex = re.compile('^TOY_EXAMPLES=examples$')
12281228
self.assertTrue(regex.match(txt), f"Pattern '{regex.pattern}' should match in: {txt}")
12291229

12301230
def test_toy_advanced_filter_deps(self):

0 commit comments

Comments
 (0)