[6253ed] | 1 | #
|
---|
| 2 | # MoleCuilder - creates and alters molecular systems
|
---|
| 3 | # Copyright (C) 2008-2012 University of Bonn
|
---|
[5aaa43] | 4 | # Copyright (C) 2013 Frederik Heber
|
---|
[6253ed] | 5 | #
|
---|
| 6 | # This program is free software: you can redistribute it and/or modify
|
---|
| 7 | # it under the terms of the GNU General Public License as published by
|
---|
| 8 | # the Free Software Foundation, either version 3 of the License, or
|
---|
| 9 | # (at your option) any later version.
|
---|
| 10 | #
|
---|
| 11 | # This program is distributed in the hope that it will be useful,
|
---|
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 14 | # GNU General Public License for more details.
|
---|
| 15 | #
|
---|
| 16 | # You should have received a copy of the GNU General Public License
|
---|
| 17 | # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 18 | #
|
---|
[f2230e] | 19 | ### parsing mpqc
|
---|
| 20 |
|
---|
| 21 | AT_SETUP([Parser - loading mpqc file])
|
---|
[e611dc] | 22 | AT_KEYWORDS([parser load mpqc])
|
---|
[23b0c2] | 23 |
|
---|
| 24 | file=testCLHF.in
|
---|
[7db9bd] | 25 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF.in], 0, [ignore], [ignore])
|
---|
| 26 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testCLHF.in], 0, [ignore], [ignore])
|
---|
[23b0c2] | 27 |
|
---|
[30f2815] | 28 | file=testCLHF_n.in
|
---|
| 29 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF_n.in], 0, [ignore], [ignore])
|
---|
| 30 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testCLHF.in], 0, [ignore], [ignore])
|
---|
| 31 |
|
---|
[7e1a88] | 32 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF_n_mixed_ids.in], 5, [ignore], [ignore])
|
---|
[30f2815] | 33 |
|
---|
| 34 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF_n_ascend_ids.in], 0, [ignore], [stderr])
|
---|
| 35 | AT_CHECK([grep "n index is not simply" stderr], 0, [ignore], [ignore])
|
---|
| 36 |
|
---|
[23b0c2] | 37 | file=testCLKS.in
|
---|
[7db9bd] | 38 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLKS.in], 0, [ignore], [ignore])
|
---|
| 39 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testCLKS.in], 0, [ignore], [ignore])
|
---|
[23b0c2] | 40 |
|
---|
| 41 | file=testMBPT2.in
|
---|
[7db9bd] | 42 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testMBPT2.in], 0, [ignore], [ignore])
|
---|
| 43 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testMBPT2.in], 0, [ignore], [ignore])
|
---|
[23b0c2] | 44 |
|
---|
| 45 | file=testMBPT2_R12.in
|
---|
[7db9bd] | 46 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
| 47 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 48 |
|
---|
| 49 | AT_CLEANUP
|
---|
| 50 |
|
---|
| 51 |
|
---|
| 52 | AT_SETUP([Parser - loading mpqc file with Undo])
|
---|
[e611dc] | 53 | AT_KEYWORDS([parser load mpqc undo])
|
---|
[e69c87] | 54 |
|
---|
| 55 | file=emptyCLHF.in
|
---|
[7db9bd] | 56 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF.in --undo], 0, [ignore], [ignore])
|
---|
[aa8cc2] | 57 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/empty.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 58 |
|
---|
[30f2815] | 59 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF_n.in --undo], 0, [ignore], [ignore])
|
---|
| 60 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/empty.in], 0, [ignore], [ignore])
|
---|
| 61 |
|
---|
[e69c87] | 62 | file=emptyCLKS.in
|
---|
[7db9bd] | 63 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLKS.in --undo], 0, [ignore], [ignore])
|
---|
[aa8cc2] | 64 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/empty.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 65 |
|
---|
| 66 | file=emptyMBPT2.in
|
---|
[7db9bd] | 67 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testMBPT2.in --undo], 0, [ignore], [ignore])
|
---|
[aa8cc2] | 68 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/empty.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 69 |
|
---|
| 70 | file=emptyMBPT2_R12.in
|
---|
[7db9bd] | 71 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testMBPT2_R12.in --undo], 0, [ignore], [ignore])
|
---|
[aa8cc2] | 72 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/empty.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 73 |
|
---|
| 74 | AT_CLEANUP
|
---|
| 75 |
|
---|
| 76 |
|
---|
| 77 | AT_SETUP([Parser - loading mpqc file with Redo])
|
---|
[e611dc] | 78 | AT_KEYWORDS([parser load mpqc redo])
|
---|
[e69c87] | 79 |
|
---|
| 80 | file=testCLHF.in
|
---|
[7db9bd] | 81 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF.in --undo --redo], 0, [ignore], [ignore])
|
---|
[30f2815] | 82 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testCLHF.in], 0, [ignore], [ignore])
|
---|
| 83 |
|
---|
| 84 | file=testCLHF_n.in
|
---|
| 85 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLHF_n.in --undo --redo], 0, [ignore], [ignore])
|
---|
[7db9bd] | 86 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testCLHF.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 87 |
|
---|
| 88 | file=testCLKS.in
|
---|
[7db9bd] | 89 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testCLKS.in --undo --redo], 0, [ignore], [ignore])
|
---|
| 90 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testCLKS.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 91 |
|
---|
| 92 | file=testMBPT2.in
|
---|
[7db9bd] | 93 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testMBPT2.in --undo --redo], 0, [ignore], [ignore])
|
---|
| 94 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testMBPT2.in], 0, [ignore], [ignore])
|
---|
[e69c87] | 95 |
|
---|
| 96 | file=testMBPT2_R12.in
|
---|
[7db9bd] | 97 | AT_CHECK([../../molecuilder -i $file -o mpqc -l ${abs_top_srcdir}/tests/regression/Parser/Mpqc/pre/testMBPT2_R12.in --undo --redo], 0, [ignore], [ignore])
|
---|
| 98 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/tests/regression/Parser/Mpqc/post/testMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
[23b0c2] | 99 |
|
---|
[f2230e] | 100 | AT_CLEANUP
|
---|