diff --git a/easybuild/main.py b/easybuild/main.py index 5d99398097..a5b96a27f0 100644 --- a/easybuild/main.py +++ b/easybuild/main.py @@ -943,7 +943,7 @@ def mk_node_name(mod): gv.layout(gvv, 'dot') gv.render(gvv, fn.split('.')[-1], fn) - print "Wrote dependency graph to %s" % fn + print "Wrote dependency graph for %d easyconfigs to %s" % (len(specs), fn) def write_to_xml(succes, failed, filename): """ diff --git a/easybuild/test/modules.py b/easybuild/test/modules.py index b57ca0ec86..b68e5de51b 100644 --- a/easybuild/test/modules.py +++ b/easybuild/test/modules.py @@ -49,13 +49,16 @@ def test_load(self): testmods = modules.Modules([os.path.join(os.path.dirname(__file__), 'modules')]) ms = testmods.available('', None) for m in ms: - testmods.purge() testmods.add_module([m]) testmods.load() tmp = {"name": m[0], "version": m[1]} assert(tmp in testmods.loaded_modules()) + # remove module again and purge to avoid conflicts when loading modules + testmods.remove_module([m]) + testmods.purge() + def test_LD_LIBRARY_PATH(self): """Make sure LD_LIBRARY_PATH is what it should be when loaded multiple modules."""