| 1 | #
 | 
|---|
| 2 | #    MoleCuilder - creates and alters molecular systems
 | 
|---|
| 3 | #    Copyright (C) 2008-2012 University of Bonn
 | 
|---|
| 4 | #    Copyright (C) 2013 Frederik Heber
 | 
|---|
| 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 | #
 | 
|---|
| 19 | # Process with autom4te to create an -*- Autotest -*- test suite.
 | 
|---|
| 20 | #
 | 
|---|
| 21 | # see regression/... subdirs wherein for each of the cases and each check (enumerated) is a pre and post dir. 
 | 
|---|
| 22 | # In pre initial files are placed, in post results can be found to be checked by diff in this testsuite.
 | 
|---|
| 23 | 
 | 
|---|
| 24 | AT_INIT([Molecular Builder])
 | 
|---|
| 25 | AT_TESTED(diff grep egrep fgrep awk)
 | 
|---|
| 26 | 
 | 
|---|
| 27 | # makes functions in CheckCommand.sh available within the tests
 | 
|---|
| 28 | # This is not yet working due to a bug in autotest (AC_CHECK cannot be used inside diversion)
 | 
|---|
| 29 | #m4_divert_push([PREPARE_TESTS])
 | 
|---|
| 30 | #m4_include([CheckCommand.sh])
 | 
|---|
| 31 | #m4_divert_pop([PREPARE_TESTS])
 | 
|---|
| 32 | 
 | 
|---|
| 33 | # Use colored output with new-enough Autotest.
 | 
|---|
| 34 | m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS])
 | 
|---|
| 35 | 
 | 
|---|
| 36 | m4_include(Options/testsuite-options.at)
 | 
|---|
| 37 | 
 | 
|---|
| 38 | m4_include(Parser/testsuite-parser.at)
 | 
|---|
| 39 | 
 | 
|---|
| 40 | m4_include(Atoms/testsuite-atoms.at)
 | 
|---|
| 41 | 
 | 
|---|
| 42 | m4_include(Bond/testsuite-bond.at)
 | 
|---|
| 43 | 
 | 
|---|
| 44 | m4_include(Selection/testsuite-selection.at)
 | 
|---|
| 45 | 
 | 
|---|
| 46 | m4_include(RandomNumbers/testsuite-randomnumbers.at)
 | 
|---|
| 47 | 
 | 
|---|
| 48 | m4_include(Domain/testsuite-domain.at)
 | 
|---|
| 49 | 
 | 
|---|
| 50 | m4_include(Graph/testsuite-graph.at)
 | 
|---|
| 51 | 
 | 
|---|
| 52 | m4_include(Molecules/testsuite-molecules.at)
 | 
|---|
| 53 | 
 | 
|---|
| 54 | m4_include(Fragmentation/testsuite-fragmentation.at)
 | 
|---|
| 55 | 
 | 
|---|
| 56 | m4_include(Potential/testsuite-potential.at)
 | 
|---|
| 57 | 
 | 
|---|
| 58 | m4_include(Tesselation/testsuite-tesselation.at)
 | 
|---|
| 59 | 
 | 
|---|
| 60 | m4_include(Filling/testsuite-filling.at)
 | 
|---|
| 61 | 
 | 
|---|
| 62 | m4_include(Analysis/testsuite-analysis.at)
 | 
|---|