Ignore:
Timestamp:
Jun 13, 2012, 5:39:11 PM (13 years ago)
Author:
Frederik Heber <heber@…>
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:
301723
Parents:
cc32d0
git-author:
Frederik Heber <heber@…> (05/10/12 10:21:40)
git-committer:
Frederik Heber <heber@…> (06/13/12 17:39:11)
Message:

FIX: RepeatBoxAction requires std::vector< unsigned int > for parameter Repeater.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/Domain/RepeatBox/testsuite-domain-repeat-box.at

    rcc32d0 re1f414  
    77AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    88AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    9 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 1, 1"], 0, [stdout], [stderr])
     9AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 1 1], 0, [stdout], [stderr])
    1010AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
    1111AT_CHECK([file=test.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    1616AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    1717AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    18 AT_CHECK([../../molecuilder -i $file -o xyz -d "2, 1, 1"], 0, [stdout], [stderr])
     18AT_CHECK([../../molecuilder -i $file -o xyz -d 2 1 1], 0, [stdout], [stderr])
    1919AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
    2020AT_CHECK([file=test-x.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    2525AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    2626AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    27 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 2, 1"], 0, [stdout], [stderr])
     27AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 2 1], 0, [stdout], [stderr])
    2828AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
    2929AT_CHECK([file=test-y.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    3434AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    3535AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    36 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 1, 2"], 0, [stdout], [stderr])
     36AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 1 2], 0, [stdout], [stderr])
    3737AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
    3838AT_CHECK([file=test-z.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    4343AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/ec.* .], 0)
    4444AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    45 AT_CHECK([../../molecuilder --parse-tremolo-potentials ec.potentials -i $file  -o tremolo -d "2, 2, 2"], 0, [stdout], [stderr])
     45AT_CHECK([../../molecuilder --parse-tremolo-potentials ec.potentials -i $file  -o tremolo -d 2 2 2], 0, [stdout], [stderr])
    4646AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
    4747AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/post/$file], 0, [ignore], [ignore])
     
    5656AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    5757AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    58 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 1, 1" --undo], 0, [stdout], [stderr])
     58AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 1 1 --undo], 0, [stdout], [stderr])
    5959AT_CHECK([fgrep "Box domain restored to" stdout], 0, [ignore], [ignore])
    6060AT_CHECK([file=test.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    6565AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    6666AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    67 AT_CHECK([../../molecuilder -i $file -o xyz -d "2, 1, 1" --undo], 0, [stdout], [stderr])
     67AT_CHECK([../../molecuilder -i $file -o xyz -d 2 1 1 --undo], 0, [stdout], [stderr])
    6868AT_CHECK([fgrep "Box domain restored to" stdout], 0, [ignore], [ignore])
    6969AT_CHECK([file=test-x.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    7474AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    7575AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    76 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 2, 1" --undo], 0, [stdout], [stderr])
     76AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 2 1 --undo], 0, [stdout], [stderr])
    7777AT_CHECK([fgrep "Box domain restored to" stdout], 0, [ignore], [ignore])
    7878AT_CHECK([file=test-y.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    8383AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    8484AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    85 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 1, 2" --undo], 0, [stdout], [stderr])
     85AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 1 2 --undo], 0, [stdout], [stderr])
    8686AT_CHECK([fgrep "Box domain restored to" stdout], 0, [ignore], [ignore])
    8787AT_CHECK([file=test-z.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    9292AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/ec.* .], 0)
    9393AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    94 AT_CHECK([../../molecuilder --parse-tremolo-potentials ec.potentials  -i $file  -o tremolo -d "2, 2, 2" --undo], 0, [stdout], [stderr])
     94AT_CHECK([../../molecuilder --parse-tremolo-potentials ec.potentials  -i $file  -o tremolo -d 2 2 2 --undo], 0, [stdout], [stderr])
    9595AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
    9696AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/$file], 0, [ignore], [ignore])
     
    105105AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    106106AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    107 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 1, 1" --undo --redo], 0, [stdout], [stderr])
     107AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 1 1 --undo --redo], 0, [stdout], [stderr])
    108108AT_CHECK([fgrep "Box domain is again" stdout], 0, [ignore], [ignore])
    109109AT_CHECK([file=test.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    114114AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    115115AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    116 AT_CHECK([../../molecuilder -i $file -o xyz -d "2, 1, 1" --undo --redo], 0, [stdout], [stderr])
     116AT_CHECK([../../molecuilder -i $file -o xyz -d 2 1 1 --undo --redo], 0, [stdout], [stderr])
    117117AT_CHECK([fgrep "Box domain is again" stdout], 0, [ignore], [ignore])
    118118AT_CHECK([file=test-x.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    123123AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    124124AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    125 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 2, 1" --undo --redo], 0, [stdout], [stderr])
     125AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 2 1 --undo --redo], 0, [stdout], [stderr])
    126126AT_CHECK([fgrep "Box domain is again" stdout], 0, [ignore], [ignore])
    127127AT_CHECK([file=test-y.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    132132AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/test.conf $file], 0)
    133133AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    134 AT_CHECK([../../molecuilder -i $file  -o xyz -d "1, 1, 2" --undo --redo], 0, [stdout], [stderr])
     134AT_CHECK([../../molecuilder -i $file  -o xyz -d 1 1 2 --undo --redo], 0, [stdout], [stderr])
    135135AT_CHECK([fgrep "Box domain is again" stdout], 0, [ignore], [ignore])
    136136AT_CHECK([file=test-z.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore])
     
    141141AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/pre/ec.* .], 0)
    142142AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    143 AT_CHECK([../../molecuilder --parse-tremolo-potentials ec.potentials -i $file  -o tremolo -d "2, 2, 2" --undo --redo], 0, [stdout], [stderr])
     143AT_CHECK([../../molecuilder --parse-tremolo-potentials ec.potentials -i $file  -o tremolo -d 2 2 2 --undo --redo], 0, [stdout], [stderr])
    144144AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
    145145AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/RepeatBox/post/$file], 0, [ignore], [ignore])
Note: See TracChangeset for help on using the changeset viewer.