summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorketsubouchi <kenta.tsubouchi@allin-one.jp>2021-02-26 17:29:10 +0900
committerGitHub <noreply@github.com>2021-02-26 09:29:10 +0100
commitb13a5060902c0ac047cdf7230479fe5f70b74bad (patch)
treed508d02d96a75cc4af7d1e04f179c2f811d9b0c8
parentbbed6dc9a16d041a52a04f5330ac15d212ad14f7 (diff)
downloadspack-b13a5060902c0ac047cdf7230479fe5f70b74bad.tar.gz
spack-b13a5060902c0ac047cdf7230479fe5f70b74bad.tar.bz2
spack-b13a5060902c0ac047cdf7230479fe5f70b74bad.tar.xz
spack-b13a5060902c0ac047cdf7230479fe5f70b74bad.zip
cpmd: add expected smoke test check output (#21668)
-rw-r--r--var/spack/repos/builtin/packages/cpmd/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cpmd/package.py b/var/spack/repos/builtin/packages/cpmd/package.py
index 00c430a7eb..4c534fa2a7 100644
--- a/var/spack/repos/builtin/packages/cpmd/package.py
+++ b/var/spack/repos/builtin/packages/cpmd/package.py
@@ -98,4 +98,8 @@ class Cpmd(MakefilePackage):
exe_name = 'cpmd.x'
opts.append(test_file)
opts.append(test_dir)
- self.run_test(exe_name, options=opts)
+ expected = ['2 1 H O 1.84444 0.97604',
+ '3 1 H O 1.84444 0.97604',
+ '2 1 3 H O H 103.8663'
+ ]
+ self.run_test(exe_name, options=opts, expected=expected)