Hello,
I'm trying to run the unit tests for EasyBuild (following the text here).
When running *$ python -m test.framework.modules load *I get the following
errors:
INFO: This is (based on) vsc.install.shared_setup 0.10.26
Filtered ModulesTest tests using 'load|--module-syntax=Tcl', retained 3/24
tests: test_check_loaded_modules, test_load, test_load_in_hierarchy
EEE
======================================================================
ERROR: test_check_loaded_modules (__main__.ModulesTest)
Test check_loaded_modules method.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/******/easybuild/software/EasyBuild/3.4.0/lib/python2.7/site-packages/easybuild_framework-3.4.0-py2.7.egg/test/framework/utilities.py",
line 134, in setUp
init_config()
File
"/home/******/easybuild/software/EasyBuild/3.4.0/lib/python2.7/site-packages/easybuild_framework-3.4.0-py2.7.egg/test/framework/utilities.py",
line 423, in init_config
eb_go = eboptions.parse_options(args=args, with_include=with_include)
File
"/home/******/easybuild/software/EasyBuild/3.4.0/lib/python2.7/site-packages/easybuild_framework-3.4.0-py2.7.egg/easybuild/tools/options.py",
line 1078, in parse_options
raise EasyBuildError("Failed to parse configuration options: %s" % err)
EasyBuildError: "Failed to parse configuration options: 'Generating Lua
module files requires Lmod as modules tool; use --module-syntax to specify
a different module syntax to use (Lua, Tcl)'"
*[Note: I getsimilar errors for test_load (__main__.ModulesTest) and
test_load_in_hierarchy (__main__.ModulesTest) ]*
----------------------------------------------------------------------
Ran 3 tests in 0.563s
FAILED (errors=3)
Since I'm not using Lmod but EnvironmentModulesC, I added the flag
--module-syntax=Tcl, but still get the exact same errors.
Any ideas what could be wrong here?
Peleg