1 | ### parsing mpqc
|
---|
2 |
|
---|
3 | AT_SETUP([Parser - loading empty mpqc file])
|
---|
4 | AT_KEYWORDS([parser,mpqc,emptyfile])
|
---|
5 |
|
---|
6 | file=empty.in
|
---|
7 | AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/empty.in $file], 0, [ignore], [ignore])
|
---|
8 | AT_CHECK([chmod u+w $file], 0)
|
---|
9 | AT_CHECK([../../molecuilder -i $file -o mpqc], 0, [ignore], [ignore])
|
---|
10 |
|
---|
11 | AT_CLEANUP
|
---|
12 |
|
---|
13 |
|
---|
14 | AT_SETUP([Parser - loading mpqc file])
|
---|
15 | AT_KEYWORDS([parser,mpqc])
|
---|
16 |
|
---|
17 | file=testCLHF.in
|
---|
18 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLHF.in], 0, [ignore], [ignore])
|
---|
19 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testCLHF.in], 0, [ignore], [ignore])
|
---|
20 |
|
---|
21 | file=testCLKS.in
|
---|
22 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLKS.in], 0, [ignore], [ignore])
|
---|
23 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testCLKS.in], 0, [ignore], [ignore])
|
---|
24 |
|
---|
25 | file=testMBPT2.in
|
---|
26 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2.in], 0, [ignore], [ignore])
|
---|
27 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testMBPT2.in], 0, [ignore], [ignore])
|
---|
28 |
|
---|
29 | file=testMBPT2_R12.in
|
---|
30 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
31 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
32 |
|
---|
33 | AT_CLEANUP
|
---|
34 |
|
---|
35 |
|
---|
36 | AT_SETUP([Parser - loading mpqc file with Undo])
|
---|
37 | AT_XFAIL_IF([/bin/true])
|
---|
38 | AT_KEYWORDS([parser,mpqc])
|
---|
39 |
|
---|
40 | file=emptyCLHF.in
|
---|
41 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLHF.in --undo], 0, [ignore], [ignore])
|
---|
42 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/emptyCLHF.in], 0, [ignore], [ignore])
|
---|
43 |
|
---|
44 | file=emptyCLKS.in
|
---|
45 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLKS.in --undo], 0, [ignore], [ignore])
|
---|
46 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/emptyCLKS.in], 0, [ignore], [ignore])
|
---|
47 |
|
---|
48 | file=emptyMBPT2.in
|
---|
49 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2.in --undo], 0, [ignore], [ignore])
|
---|
50 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/emptyMBPT2.in], 0, [ignore], [ignore])
|
---|
51 |
|
---|
52 | file=emptyMBPT2_R12.in
|
---|
53 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2_R12.in --undo], 0, [ignore], [ignore])
|
---|
54 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/emptyMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
55 |
|
---|
56 | AT_CLEANUP
|
---|
57 |
|
---|
58 |
|
---|
59 | AT_SETUP([Parser - loading mpqc file with Redo])
|
---|
60 | AT_XFAIL_IF([/bin/true])
|
---|
61 | AT_KEYWORDS([parser,mpqc])
|
---|
62 |
|
---|
63 | file=testCLHF.in
|
---|
64 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLHF.in --undo --redo], 0, [ignore], [ignore])
|
---|
65 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testCLHF.in], 0, [ignore], [ignore])
|
---|
66 |
|
---|
67 | file=testCLKS.in
|
---|
68 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLKS.in --undo --redo], 0, [ignore], [ignore])
|
---|
69 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testCLKS.in], 0, [ignore], [ignore])
|
---|
70 |
|
---|
71 | file=testMBPT2.in
|
---|
72 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2.in --undo --redo], 0, [ignore], [ignore])
|
---|
73 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testMBPT2.in], 0, [ignore], [ignore])
|
---|
74 |
|
---|
75 | file=testMBPT2_R12.in
|
---|
76 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2_R12.in --undo --redo], 0, [ignore], [ignore])
|
---|
77 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
78 |
|
---|
79 | AT_CLEANUP
|
---|
80 |
|
---|
81 |
|
---|
82 | AT_SETUP([Parser - storing mpqc from loaded xyz file])
|
---|
83 | AT_KEYWORDS([parser,mpqc,xyz])
|
---|
84 |
|
---|
85 | AT_CHECK([../../molecuilder -i test.xyz -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/test.xyz], 0, [ignore], [ignore])
|
---|
86 | AT_CHECK([file=test.in; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/test.in], 0, [ignore], [ignore])
|
---|
87 |
|
---|
88 | AT_CLEANUP
|
---|
89 |
|
---|
90 |
|
---|
91 | AT_SETUP([Parser - saving mpqc (from parsed xyz) file])
|
---|
92 | AT_KEYWORDS([parser,mpqc,xyz])
|
---|
93 |
|
---|
94 | AT_CHECK([../../molecuilder -i test.xyz -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/test.xyz --output store.in], 0, [ignore], [ignore])
|
---|
95 | AT_CHECK([diff store.in ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/test.in], 0, [ignore], [ignore])
|
---|
96 |
|
---|
97 | AT_CLEANUP
|
---|