diff options
author | Joseph Ciurej <ciurej1@llnl.gov> | 2016-05-24 16:13:52 -0700 |
---|---|---|
committer | Joseph Ciurej <ciurej1@llnl.gov> | 2016-05-24 16:13:52 -0700 |
commit | 483ec0d76275521579b2d1c93620a37841159e36 (patch) | |
tree | 8bb2e2a4ea35df615605a032a3b0bb329f31f840 /var/spack/repos/builtin/packages/metis | |
parent | c9ba73d931439afd0670bcf6498154724d77cd45 (diff) | |
download | spack-483ec0d76275521579b2d1c93620a37841159e36.tar.gz spack-483ec0d76275521579b2d1c93620a37841159e36.tar.bz2 spack-483ec0d76275521579b2d1c93620a37841159e36.tar.xz spack-483ec0d76275521579b2d1c93620a37841159e36.zip |
Added preliminary improved testing code for METIS@:4.
Diffstat (limited to 'var/spack/repos/builtin/packages/metis')
-rw-r--r-- | var/spack/repos/builtin/packages/metis/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/metis/package.py b/var/spack/repos/builtin/packages/metis/package.py index 65595229c0..5ccc04bd5e 100644 --- a/var/spack/repos/builtin/packages/metis/package.py +++ b/var/spack/repos/builtin/packages/metis/package.py @@ -128,6 +128,25 @@ class Metis(Package): os.system('%s %s 10' % (test_bin('partdmesh'), graph)) os.system('%s %s' % (test_bin('mesh2dual'), graph)) + # TODO: The following code should replace the testing code in the + # block above since it causes installs to fail when one or more of the + # Metis tests fail, but it currently doesn't work because the 'mtest', + # 'onmetis', and 'partnmesh' tests return error codes that trigger + # false positives for failure. + """ + Executable(test_bin('mtest'))(test_graph('4elt.graph')) + Executable(test_bin('kmetis'))(test_graph('4elt.graph'), '40') + Executable(test_bin('onmetis'))(test_graph('4elt.graph')) + + Executable(test_bin('pmetis'))(test_graph('test.mgraph'), '2') + Executable(test_bin('kmetis'))(test_graph('test.mgraph'), '2') + Executable(test_bin('kmetis'))(test_graph('test.mgraph'), '5') + + Executable(test_bin('partnmesh'))(test_graph('metis.mesh'), '10') + Executable(test_bin('partdmesh'))(test_graph('metis.mesh'), '10') + Executable(test_bin('mesh2dual'))(test_graph('metis.mesh')) + """ + @when('@5:') def install(self, spec, prefix): options = [] |