Just to be clear: $ echo $TEST_EASYBUILD_MODULES_TOOL returns
EnvironmentModulesC. The error still occurs.

On Tue, Oct 17, 2017 at 4:46 PM, Peleg Bar-Sapir <pel...@gmail.com> wrote:

> Hello Alan,
>
> I did that before running the unittest, of course.
>
> Peleg
>
> On Tue, Oct 17, 2017 at 4:31 PM, Alan O'Cais <a.oc...@fz-juelich.de>
> wrote:
>
>> See http://easybuild.readthedocs.io/en/latest/Installation.
>> html#running-unit-tests , you need to
>>
>> export TEST_EASYBUILD_MODULES_TOOL=EnvironmentModulesC
>>
>>
>> On 17 October 2017 at 16:22, Peleg Bar-Sapir <pel...@gmail.com> wrote:
>>
>>> 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
>>>
>>
>>
>>
>> --
>> Dr. Alan O'Cais
>> E-CAM Software Manager
>> Juelich Supercomputing Centre
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich, Germany
>>
>> Phone: +49 2461 61 5213 <+49%202461%20615213>
>> Fax: +49 2461 61 6656 <+49%202461%20616656>
>> E-mail: a.oc...@fz-juelich.de
>> WWW:    http://www.fz-juelich.de/ias/jsc/EN
>>
>>
>> ------------------------------------------------------------
>> ------------------------------------
>> ------------------------------------------------------------
>> ------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
>> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>> ------------------------------------------------------------
>> ------------------------------------
>> ------------------------------------------------------------
>> ------------------------------------
>>
>>
>

Reply via email to