Changeset 7db9bd for tests/regression/Selection/Atoms
- Timestamp:
- Oct 5, 2011, 9:16:10 AM (13 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- b4e3fe
- Parents:
- 740d40
- git-author:
- Frederik Heber <heber@…> (10/04/11 11:59:19)
- git-committer:
- Frederik Heber <heber@…> (10/05/11 09:16:10)
- Location:
- tests/regression/Selection/Atoms
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/regression/Selection/Atoms/AllAtoms/testsuite-selection-select-all-atoms.at
r740d40 r7db9bd 5 5 6 6 file=allatoms.xyz 7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0)7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0) 8 8 AT_CHECK([chmod u+w $file], 0) 9 9 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms -r], 0, [stdout], [stderr]) 10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/post/allatoms.xyz], 0, [ignore], [ignore])10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/post/allatoms.xyz], 0, [ignore], [ignore]) 11 11 12 12 AT_CLEANUP … … 17 17 18 18 file=allatoms.xyz 19 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0)19 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0) 20 20 AT_CHECK([chmod u+w $file], 0) 21 21 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --undo -r], 0, [stdout], [stderr]) 22 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/post/box.xyz], 0, [ignore], [ignore])22 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/post/box.xyz], 0, [ignore], [ignore]) 23 23 24 24 AT_CLEANUP … … 29 29 30 30 file=allatoms.xyz 31 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0)31 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0) 32 32 AT_CHECK([chmod u+w $file], 0) 33 33 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --undo --redo -r], 0, [stdout], [stderr]) 34 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/post/allatoms.xyz], 0, [ignore], [ignore])34 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/post/allatoms.xyz], 0, [ignore], [ignore]) 35 35 36 36 AT_CLEANUP -
tests/regression/Selection/Atoms/AllAtoms/testsuite-selection-unselect-all-atoms.at
r740d40 r7db9bd 6 6 7 7 file=box.xyz 8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0)8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0) 9 9 AT_CHECK([chmod u+w $file], 0) 10 10 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms -r], 0, [stdout], [stderr]) 11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/post/box.xyz], 0, [ignore], [ignore])11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/post/box.xyz], 0, [ignore], [ignore]) 12 12 13 13 AT_CLEANUP … … 18 18 19 19 file=id0_missing.xyz 20 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0)20 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/pre/box.xyz $file], 0) 21 21 AT_CHECK([chmod u+w $file], 0) 22 22 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo -r], 0, [stdout], [stderr]) 23 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/post/id0_missing.xyz], 0, [ignore], [ignore])23 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/post/id0_missing.xyz], 0, [ignore], [ignore]) 24 24 25 25 AT_CLEANUP … … 30 30 31 31 file=box.xyz 32 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/pre/box.xyz .], 0)32 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/pre/box.xyz .], 0) 33 33 AT_CHECK([chmod u+w $file], 0) 34 34 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo --redo -r], 0, [stdout], [stderr]) 35 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtoms/post/box.xyz], 0, [ignore], [ignore])35 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtoms/post/box.xyz], 0, [ignore], [ignore]) 36 36 37 37 AT_CLEANUP -
tests/regression/Selection/Atoms/AllAtomsOfMolecule/testsuite-selection-select-all-atoms-of-molecule.at
r740d40 r7db9bd 5 5 6 6 file=molecule0.xyz 7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 8 8 AT_CHECK([chmod u+w $file], 0) 9 9 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-molecule-by-id 1 --select-molecules-atoms -r], 0, [stdout], [stderr]) 10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore])10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore]) 11 11 12 12 file=molecule1.xyz 13 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)13 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 14 14 AT_CHECK([chmod u+w $file], 0) 15 15 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-molecule-by-id 0 --select-molecules-atoms -r], 0, [stdout], [stderr]) 16 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore])16 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore]) 17 17 18 18 AT_CLEANUP … … 23 23 24 24 file=molecule0.xyz 25 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)25 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 26 26 AT_CHECK([chmod u+w $file], 0) 27 27 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-molecule-by-id 1 --select-molecules-atoms --undo -r], 0, [stdout], [stderr]) 28 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/test.xyz], 0, [ignore], [ignore])28 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/test.xyz], 0, [ignore], [ignore]) 29 29 30 30 file=molecule1.xyz 31 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)31 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 32 32 AT_CHECK([chmod u+w $file], 0) 33 33 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-molecule-by-id 0 --select-molecules-atoms --undo -r], 0, [stdout], [stderr]) 34 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/test.xyz], 0, [ignore], [ignore])34 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/test.xyz], 0, [ignore], [ignore]) 35 35 36 36 AT_CLEANUP … … 41 41 42 42 file=molecule0.xyz 43 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)43 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 44 44 AT_CHECK([chmod u+w $file], 0) 45 45 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-molecule-by-id 1 --select-molecules-atoms --undo --redo -r], 0, [stdout], [stderr]) 46 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore])46 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore]) 47 47 48 48 file=molecule1.xyz 49 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)49 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 50 50 AT_CHECK([chmod u+w $file], 0) 51 51 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-molecule-by-id 0 --select-molecules-atoms --undo --redo -r], 0, [stdout], [stderr]) 52 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore])52 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore]) 53 53 54 54 AT_CLEANUP -
tests/regression/Selection/Atoms/AllAtomsOfMolecule/testsuite-selection-unselect-all-atoms-of-molecule.at
r740d40 r7db9bd 6 6 7 7 file=molecule0.xyz 8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 9 9 AT_CHECK([chmod u+w $file], 0) 10 10 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-all-atoms --select-molecule-by-id 0 --unselect-molecules-atoms -r], 0, [stdout], [stderr]) 11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore])11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore]) 12 12 13 13 file=molecule1.xyz 14 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)14 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 15 15 AT_CHECK([chmod u+w $file], 0) 16 16 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-all-atoms --select-molecule-by-id 1 --unselect-molecules-atoms -r], 0, [stdout], [stderr]) 17 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore])17 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore]) 18 18 19 19 AT_CLEANUP … … 24 24 25 25 file=molecule0.xyz 26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 27 27 AT_CHECK([chmod u+w $file], 0) 28 28 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-all-atoms --select-molecule-by-id 0 --unselect-molecules-atoms --undo -r], 0, [stdout], [stderr]) 29 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/empty.xyz], 0, [ignore], [ignore])29 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/empty.xyz], 0, [ignore], [ignore]) 30 30 31 31 file=molecule1.xyz 32 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)32 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 33 33 AT_CHECK([chmod u+w $file], 0) 34 34 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-all-atoms --select-molecule-by-id 1 --unselect-molecules-atoms --undo -r], 0, [stdout], [stderr]) 35 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/empty.xyz], 0, [ignore], [ignore])35 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/empty.xyz], 0, [ignore], [ignore]) 36 36 37 37 AT_CLEANUP … … 42 42 43 43 file=molecule0.xyz 44 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)44 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 45 45 AT_CHECK([chmod u+w $file], 0) 46 46 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-all-atoms --select-molecule-by-id 0 --unselect-molecules-atoms --undo --redo -r], 0, [stdout], [stderr]) 47 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore])47 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule0.xyz], 0, [ignore], [ignore]) 48 48 49 49 file=molecule1.xyz 50 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0)50 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/pre/test.xyz $file], 0) 51 51 AT_CHECK([chmod u+w $file], 0) 52 52 AT_CHECK([../../molecuilder -i $file -v 3 -I --select-all-atoms --select-molecule-by-id 1 --unselect-molecules-atoms --undo --redo -r], 0, [stdout], [stderr]) 53 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore])53 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AllAtomsOfMolecule/post/molecule1.xyz], 0, [ignore], [ignore]) 54 54 55 55 AT_CLEANUP -
tests/regression/Selection/Atoms/AtomByElement/testsuite-selection-select-atoms-by-element.at
r740d40 r7db9bd 6 6 7 7 file=test-H_missing.xyz 8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 9 9 AT_CHECK([chmod u+w $file], 0) 10 10 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-element 1 -r], 0, [stdout], [stderr]) 11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-H_missing.xyz], 0, [ignore], [ignore])11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-H_missing.xyz], 0, [ignore], [ignore]) 12 12 13 13 file=test-Be_missing.xyz 14 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)14 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 15 15 AT_CHECK([chmod u+w $file], 0) 16 16 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-element 4 -r], 0, [stdout], [stderr]) 17 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-Be_missing.xyz], 0, [ignore], [ignore])17 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-Be_missing.xyz], 0, [ignore], [ignore]) 18 18 19 19 AT_CLEANUP … … 24 24 25 25 file=test.xyz 26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 27 27 AT_CHECK([chmod u+w $file], 0) 28 28 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-element 1 --undo -r], 0, [stdout], [stderr]) 29 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test.xyz], 0, [ignore], [ignore])29 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test.xyz], 0, [ignore], [ignore]) 30 30 31 31 file=test.xyz 32 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)32 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 33 33 AT_CHECK([chmod u+w $file], 0) 34 34 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-element 4 --undo -r], 0, [stdout], [stderr]) 35 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test.xyz], 0, [ignore], [ignore])35 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test.xyz], 0, [ignore], [ignore]) 36 36 37 37 AT_CLEANUP … … 41 41 42 42 file=test-H_missing.xyz 43 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)43 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 44 44 AT_CHECK([chmod u+w $file], 0) 45 45 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-element 1 --undo --redo -r], 0, [stdout], [stderr]) 46 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-H_missing.xyz], 0, [ignore], [ignore])46 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-H_missing.xyz], 0, [ignore], [ignore]) 47 47 48 48 file=test-Be_missing.xyz 49 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)49 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 50 50 AT_CHECK([chmod u+w $file], 0) 51 51 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-element 4 --undo --redo -r], 0, [stdout], [stderr]) 52 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-Be_missing.xyz], 0, [ignore], [ignore])52 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-Be_missing.xyz], 0, [ignore], [ignore]) 53 53 54 54 AT_CLEANUP -
tests/regression/Selection/Atoms/AtomByElement/testsuite-selection-unselect-atoms-by-element.at
r740d40 r7db9bd 7 7 8 8 file=test-H_present.xyz 9 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)9 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 10 10 AT_CHECK([chmod u+w $file], 0) 11 11 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-element 1 -r], 0, [stdout], [stderr]) 12 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-H_present.xyz], 0, [ignore], [ignore])12 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-H_present.xyz], 0, [ignore], [ignore]) 13 13 14 14 file=test-Be_present.xyz 15 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)15 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 16 16 AT_CHECK([chmod u+w $file], 0) 17 17 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-element 4 -r], 0, [stdout], [stderr]) 18 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-Be_present.xyz], 0, [ignore], [ignore])18 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-Be_present.xyz], 0, [ignore], [ignore]) 19 19 20 20 AT_CLEANUP … … 25 25 26 26 file=test.xyz 27 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)27 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 28 28 AT_CHECK([chmod u+w $file], 0) 29 29 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-element 1 --undo -r], 0, [stdout], [stderr]) 30 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/empty.xyz], 0, [ignore], [ignore])30 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/empty.xyz], 0, [ignore], [ignore]) 31 31 32 32 file=test.xyz 33 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)33 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 34 34 AT_CHECK([chmod u+w $file], 0) 35 35 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-element 4 --undo -r], 0, [stdout], [stderr]) 36 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/empty.xyz], 0, [ignore], [ignore])36 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/empty.xyz], 0, [ignore], [ignore]) 37 37 38 38 AT_CLEANUP … … 42 42 43 43 file=test-H_present.xyz 44 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)44 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 45 45 AT_CHECK([chmod u+w $file], 0) 46 46 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-element 1 --undo --redo -r], 0, [stdout], [stderr]) 47 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-H_present.xyz], 0, [ignore], [ignore])47 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-H_present.xyz], 0, [ignore], [ignore]) 48 48 49 49 file=test-Be_present.xyz 50 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0)50 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/pre/test.xyz $file], 0) 51 51 AT_CHECK([chmod u+w $file], 0) 52 52 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-element 4 --undo --redo -r], 0, [stdout], [stderr]) 53 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomByElement/post/test-Be_present.xyz], 0, [ignore], [ignore])53 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomByElement/post/test-Be_present.xyz], 0, [ignore], [ignore]) 54 54 55 55 AT_CLEANUP -
tests/regression/Selection/Atoms/AtomById/testsuite-selection-select-atom-by-id.at
r740d40 r7db9bd 8 8 file=id${i}_missing.xyz 9 9 # normal 10 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/pre/test.xyz $file])10 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/pre/test.xyz $file]) 11 11 AT_CHECK([chmod u+w $file], 0) 12 12 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id ${i} -r], [], [ignore], [ignore]) 13 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/post/id${i}_missing.xyz])13 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/post/id${i}_missing.xyz]) 14 14 ((i+=1)) 15 15 done … … 24 24 file=id${i}_missing.xyz 25 25 # undo 26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/pre/test.xyz $file])26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/pre/test.xyz $file]) 27 27 AT_CHECK([chmod u+w $file], 0) 28 28 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id ${i} --undo -r], [], [ignore], [ignore]) 29 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/post/test-undo.xyz])29 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/post/test-undo.xyz]) 30 30 ((i+=1)) 31 31 done … … 40 40 file=id${i}_missing.xyz 41 41 # redo 42 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/pre/test.xyz $file])42 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/pre/test.xyz $file]) 43 43 AT_CHECK([chmod u+w $file], 0) 44 44 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id ${i} --undo --redo -r], [], [ignore], [ignore]) 45 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/post/id${i}_missing.xyz])45 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/post/id${i}_missing.xyz]) 46 46 ((i+=1)) 47 47 done -
tests/regression/Selection/Atoms/AtomById/testsuite-selection-unselect-atom-by-id.at
r740d40 r7db9bd 9 9 file=id${i}_present.xyz 10 10 # normal 11 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/pre/test.xyz $file])11 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/pre/test.xyz $file]) 12 12 AT_CHECK([chmod u+w $file], 0) 13 13 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-id ${i} -r], [], [ignore], [ignore]) 14 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/post/id${i}_present.xyz])14 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/post/id${i}_present.xyz]) 15 15 ((i+=1)) 16 16 done … … 25 25 file=id${i}_present.xyz 26 26 # undo 27 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/pre/test.xyz $file])27 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/pre/test.xyz $file]) 28 28 AT_CHECK([chmod u+w $file], 0) 29 29 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-id ${i} --undo -r], [], [ignore], [ignore]) 30 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/post/empty.xyz])30 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/post/empty.xyz]) 31 31 ((i+=1)) 32 32 done … … 41 41 file=id${i}_present.xyz 42 42 # redo 43 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/pre/test.xyz $file])43 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/pre/test.xyz $file]) 44 44 AT_CHECK([chmod u+w $file], 0) 45 45 AT_CHECK([../../molecuilder -i $file -v 3 --select-all-atoms --unselect-atom-by-id ${i} --undo --redo -r], [], [ignore], [ignore]) 46 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomById/post/id${i}_present.xyz])46 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomById/post/id${i}_present.xyz]) 47 47 ((i+=1)) 48 48 done -
tests/regression/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-select-atoms-inside-cuboid-with-defaults.at
r740d40 r7db9bd 6 6 7 7 file=allatomsoutsidecuboid.xyz 8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 9 9 AT_CHECK([chmod u+w $file], 0) 10 10 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" -r], 0, [stdout], [stderr]) 11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore])11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore]) 12 12 13 13 # check size of cuboid … … 27 27 28 28 file=allatomsoutsidecuboid.xyz 29 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)29 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 30 30 AT_CHECK([chmod u+w $file], 0) 31 31 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --undo -r], 0, [stdout], [stderr]) 32 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz], 0, [ignore], [ignore])32 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz], 0, [ignore], [ignore]) 33 33 34 34 AT_CLEANUP … … 39 39 40 40 file=allatomsoutsidecuboid.xyz 41 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)41 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 42 42 AT_CHECK([chmod u+w $file], 0) 43 43 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --undo --redo -r], 0, [stdout], [stderr]) 44 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore])44 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore]) 45 45 46 46 -
tests/regression/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-select-atoms-inside-cuboid.at
r740d40 r7db9bd 5 5 6 6 file=allatomsoutsidecuboid.xyz 7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 8 8 AT_CHECK([chmod u+w $file], 0) 9 9 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 -r], 0, [stdout], [stderr]) 10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore])10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore]) 11 11 12 12 # check size of cuboid … … 26 26 27 27 file=allatomsoutsidecuboid.xyz 28 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)28 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 29 29 AT_CHECK([chmod u+w $file], 0) 30 30 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 --undo -r], 0, [stdout], [stderr]) 31 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz], 0, [ignore], [ignore])31 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz], 0, [ignore], [ignore]) 32 32 33 33 AT_CLEANUP … … 38 38 39 39 file=allatomsoutsidecuboid.xyz 40 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)40 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 41 41 AT_CHECK([chmod u+w $file], 0) 42 42 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 --undo --redo -r], 0, [stdout], [stderr]) 43 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore])43 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/post/allatomsoutsidecuboid.xyz], 0, [ignore], [ignore]) 44 44 45 45 -
tests/regression/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-unselect-atoms-inside-cuboid.at
r740d40 r7db9bd 6 6 7 7 file=allatomsinsidecuboid.xyz 8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 9 9 AT_CHECK([chmod u+w $file], 0) 10 10 AT_CHECK([../../molecuilder -i $file -v 5 --select-all-atoms --unselect-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 -r], 0, [stdout], [stderr]) 11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/post/allatomsinsidecuboid.xyz], 0, [ignore], [ignore])11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/post/allatomsinsidecuboid.xyz], 0, [ignore], [ignore]) 12 12 13 13 # check size of cuboid … … 27 27 28 28 file=allatomsinsidecuboid.xyz 29 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)29 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 30 30 AT_CHECK([chmod u+w $file], 0) 31 31 AT_CHECK([../../molecuilder -i $file -v 5 --select-all-atoms --unselect-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 --undo -r], 0, [stdout], [stderr]) 32 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/post/empty.xyz], 0, [ignore], [ignore])32 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/post/empty.xyz], 0, [ignore], [ignore]) 33 33 34 34 AT_CLEANUP … … 39 39 40 40 file=allatomsinsidecuboid.xyz 41 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0)41 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/pre/box.xyz $file], 0) 42 42 AT_CHECK([chmod u+w $file], 0) 43 43 AT_CHECK([../../molecuilder -i $file -v 5 --select-all-atoms --unselect-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 --undo --redo -r], 0, [stdout], [stderr]) 44 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideCuboid/post/allatomsinsidecuboid.xyz], 0, [ignore], [ignore])44 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideCuboid/post/allatomsinsidecuboid.xyz], 0, [ignore], [ignore]) 45 45 46 46 AT_CLEANUP -
tests/regression/Selection/Atoms/AtomsInsideSphere/testsuite-selection-select-atoms-inside-sphere.at
r740d40 r7db9bd 5 5 6 6 file=allatomsoutsidesphere.xyz 7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0)7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0) 8 8 AT_CHECK([chmod u+w $file], 0) 9 9 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-sphere 10 --position "10,10,10" -r], 0, [stdout], [stderr]) 10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/post/allatomsoutsidesphere.xyz], 0, [ignore], [ignore])10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/post/allatomsoutsidesphere.xyz], 0, [ignore], [ignore]) 11 11 12 12 # check size of sphere … … 26 26 27 27 file=allatomsoutsidesphere.xyz 28 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0)28 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0) 29 29 AT_CHECK([chmod u+w $file], 0) 30 30 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-sphere 10 --position "10,10,10" --undo -r], 0, [stdout], [stderr]) 31 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/pre/box.xyz], 0, [ignore], [ignore])31 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/pre/box.xyz], 0, [ignore], [ignore]) 32 32 33 33 AT_CLEANUP … … 38 38 39 39 file=allatomsoutsidesphere.xyz 40 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0)40 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0) 41 41 AT_CHECK([chmod u+w $file], 0) 42 42 AT_CHECK([../../molecuilder -i $file -v 5 --select-atoms-inside-sphere 10 --position "10,10,10" --undo --redo -r], 0, [stdout], [stderr]) 43 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/post/allatomsoutsidesphere.xyz], 0, [ignore], [ignore])43 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/post/allatomsoutsidesphere.xyz], 0, [ignore], [ignore]) 44 44 45 45 AT_CLEANUP -
tests/regression/Selection/Atoms/AtomsInsideSphere/testsuite-selection-unselect-atoms-inside-sphere.at
r740d40 r7db9bd 6 6 7 7 file=allatomsinsidesphere.xyz 8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0)8 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0) 9 9 AT_CHECK([chmod u+w $file], 0) 10 10 AT_CHECK([../../molecuilder -i $file -v 5 --select-all-atoms --unselect-atoms-inside-sphere 10 --position "10,10,10" -r], 0, [stdout], [stderr]) 11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/post/allatomsinsidesphere.xyz], 0, [ignore], [ignore])11 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/post/allatomsinsidesphere.xyz], 0, [ignore], [ignore]) 12 12 13 13 # check size of sphere … … 27 27 28 28 file=allatomsinsidesphere.xyz 29 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0)29 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0) 30 30 AT_CHECK([chmod u+w $file], 0) 31 31 AT_CHECK([../../molecuilder -i $file -v 5 --select-all-atoms --unselect-atoms-inside-sphere 10 --position "10,10,10" --undo -r], 0, [stdout], [stderr]) 32 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/post/empty.xyz], 0, [ignore], [ignore])32 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/post/empty.xyz], 0, [ignore], [ignore]) 33 33 34 34 AT_CLEANUP … … 39 39 40 40 file=allatomsinsidesphere.xyz 41 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0)41 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/pre/box.xyz $file], 0) 42 42 AT_CHECK([chmod u+w $file], 0) 43 43 AT_CHECK([../../molecuilder -i $file -v 5 --select-all-atoms --unselect-atoms-inside-sphere 10 --position "10,10,10" --undo --redo -r], 0, [stdout], [stderr]) 44 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/AtomsInsideSphere/post/allatomsinsidesphere.xyz], 0, [ignore], [ignore])44 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/AtomsInsideSphere/post/allatomsinsidesphere.xyz], 0, [ignore], [ignore]) 45 45 46 46 AT_CLEANUP -
tests/regression/Selection/Atoms/ClearAtoms/testsuite-selection-clear-atoms.at
r740d40 r7db9bd 5 5 6 6 file=box.xyz 7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0)7 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0) 8 8 AT_CHECK([chmod u+w $file], 0) 9 9 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms -r], 0, [stdout], [stderr]) 10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/ClearAtoms/pre/box.xyz], 0, [ignore], [ignore])10 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz], 0, [ignore], [ignore]) 11 11 12 12 AT_CLEANUP … … 17 17 18 18 file=id0_missing.xyz 19 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0)19 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0) 20 20 AT_CHECK([chmod u+w $file], 0) 21 21 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo -r], 0, [stdout], [stderr]) 22 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/ClearAtoms/post/id0_missing.xyz], 0, [ignore], [ignore])22 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/post/id0_missing.xyz], 0, [ignore], [ignore]) 23 23 24 24 AT_CLEANUP … … 29 29 30 30 file=box.xyz 31 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0)31 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0) 32 32 AT_CHECK([chmod u+w $file], 0) 33 33 AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo --redo -r], 0, [stdout], [stderr]) 34 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/ ${AUTOTEST_PATH}/Selection/Atoms/ClearAtoms/pre/box.xyz], 0, [ignore], [ignore])34 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz], 0, [ignore], [ignore]) 35 35 36 36 AT_CLEANUP
Note:
See TracChangeset
for help on using the changeset viewer.