diff options
Diffstat (limited to 'lib/spack/spack/platforms/test.py')
-rw-r--r-- | lib/spack/spack/platforms/test.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/spack/platforms/test.py b/lib/spack/spack/platforms/test.py index 26fe943394..a873f4cdd6 100644 --- a/lib/spack/spack/platforms/test.py +++ b/lib/spack/spack/platforms/test.py @@ -29,8 +29,9 @@ class Test(Platform): back_os = "debian6" default_os = "debian6" - def __init__(self): - super(Test, self).__init__("test") + def __init__(self, name=None): + name = name or "test" + super(Test, self).__init__(name) self.add_target(self.default, spack.target.Target(self.default)) self.add_target(self.front_end, spack.target.Target(self.front_end)) |