diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-18 13:07:14 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-18 13:07:14 +0200 |
commit | a33077b77fc83bf2cb7e78f0724922fc61137898 (patch) | |
tree | 902ecec507b3efeb84c768f1de34cb32fd6ccd1a /lib | |
parent | 51cf8476471b1d4b4bbffa89b7c3ae2485f18ccd (diff) | |
download | spack-a33077b77fc83bf2cb7e78f0724922fc61137898.tar.gz spack-a33077b77fc83bf2cb7e78f0724922fc61137898.tar.bz2 spack-a33077b77fc83bf2cb7e78f0724922fc61137898.tar.xz spack-a33077b77fc83bf2cb7e78f0724922fc61137898.zip |
unit tests : fixed test_alter_environment
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/modules.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/spack/spack/test/modules.py b/lib/spack/spack/test/modules.py index 59ee607826..889c09c730 100644 --- a/lib/spack/spack/test/modules.py +++ b/lib/spack/spack/test/modules.py @@ -93,17 +93,14 @@ configuration_alter_environment = { 'filter': {'environment_blacklist': ['CMAKE_PREFIX_PATH']} }, 'platform=test target=x86_64': { - 'environment': {'set': {'FOO': 'foo'}, - 'unset': ['BAR']} - 'arch=x86-linux': { 'environment': { 'set': {'FOO': 'foo'}, 'unset': ['BAR'] } }, - 'arch=x64-linux': { + 'platform=test target=x86_32': { 'load': ['foo/bar'] - } + } } } @@ -246,7 +243,6 @@ class TclTests(MockPackagesTest): spack.modules.CONFIGURATION = configuration_alter_environment spec = spack.spec.Spec('mpileaks platform=test target=x86_64') content = self.get_modulefile_content(spec) - print content self.assertEqual( len([x for x in content @@ -257,7 +253,6 @@ class TclTests(MockPackagesTest): spec = spack.spec.Spec('libdwarf %clang platform=test target=x86_32') content = self.get_modulefile_content(spec) - print content self.assertEqual( len([x for x in content |