Changeset 209f4c for tests/GuiChecks


Ignore:
Timestamp:
Jul 20, 2018, 5:37:39 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.6.1
Children:
425516
Parents:
9ac3d3
git-author:
Frederik Heber <frederik.heber@…> (07/20/18 05:35:06)
git-committer:
Frederik Heber <frederik.heber@…> (07/20/18 05:37:39)
Message:

TESTS: Fixed FillSurface and FillVolumne, recreated GuiChecks.

  • createGuiChecks.sh cannot decipher when AT_CHECK is on single line or when result code is not connected to last line but on new line. Hence, we had to fold some lines FillSurface and FillVolume back.
Location:
tests/GuiChecks
Files:
2 added
16 edited

Legend:

Unmodified
Added
Removed
  • tests/GuiChecks/Atoms/RandomPerturbation/testsuite-atoms-random-perturbation.at

    r9ac3d3 r209f4c  
    2222file=water.xyz
    2323AT_CHECK([cp -f ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/pre/water.xyz $file], 0, [ignore], [ignore])
     24AT_CHECK([chmod +w $file], 0, [ignore], [ignore])
    2425AT_CHECK([../../molecuilder --dry-run -i water.xyz --set-random-number-distribution "uniform_int" --random-number-distribution-parameters "max=1;" --select-all-atoms --random-perturbation 0.1 --no-dry-run --store-session session-atoms-random-perturbation.py --session-type python], 0, [ignore], [ignore])
    2526AT_CHECK([grep -v "Command.*DryRun" session-atoms-random-perturbation.py >session-atoms-random-perturbation_new.py], 0, [ignore], [ignore])
     
    3233file=water.xyz
    3334AT_CHECK([cp -f ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/pre/water.xyz $file], 0, [ignore], [ignore])
     35AT_CHECK([chmod +w $file], 0, [ignore], [ignore])
    3436AT_CHECK([../../molecuilder --dry-run -i water.xyz --set-random-number-distribution "uniform_int" --random-number-distribution-parameters "max=1;" --select-all-atoms --random-perturbation 0.1 --undo --no-dry-run --store-session session-atoms-random-perturbation.py --session-type python], 0, [ignore], [ignore])
    3537AT_CHECK([grep -v "Command.*DryRun" session-atoms-random-perturbation.py >session-atoms-random-perturbation_new.py], 0, [ignore], [ignore])
     
    4345file=water.xyz
    4446AT_CHECK([cp -f ${abs_top_srcdir}/tests/regression/Atoms/RandomPerturbation/pre/water.xyz $file], 0, [ignore], [ignore])
     47AT_CHECK([chmod +w $file], 0, [ignore], [ignore])
    4548AT_CHECK([../../molecuilder --dry-run -i water.xyz --set-random-number-distribution "uniform_int" --random-number-distribution-parameters "max=1;" --select-all-atoms --random-perturbation 0.1 --undo --redo --no-dry-run --store-session session-atoms-random-perturbation.py --session-type python], 0, [ignore], [ignore])
    4649AT_CHECK([grep -v "Command.*DryRun" session-atoms-random-perturbation.py >session-atoms-random-perturbation_new.py], 0, [ignore], [ignore])
  • tests/GuiChecks/Filling/FillSurface/testsuite-fill-surface-cube.at

    r9ac3d3 r209f4c  
    2424AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    2525AT_CHECK([chmod u+w water.xyz], 0)
    26 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cube1"            --shape-type "cube"             --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "cube1"  --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"
    27 ], 0, [stdout], [stderr])
     26AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cube1"            --shape-type "cube"             --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "cube1"  --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1" --no-dry-run --store-session session-fill-surface-cube.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-cube.py >session-fill-surface-cube_new.py], 0, [ignore], [ignore])
     28AT_CHECK([../../molecuilderguitest session-fill-surface-cube_new.py], 0, [stdout], [stderr])
    2829AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    2930
     
    3738AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    3839AT_CHECK([chmod u+w water.xyz], 0)
    39 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cube1"            --shape-type "cube"             --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "cube1"  --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo
    40 ], 0, [stdout], [stderr])
     40AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cube1"            --shape-type "cube"             --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "cube1"  --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo --no-dry-run --store-session session-fill-surface-cube.py --session-type python], 0, [stdout], [stderr])
     41AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-cube.py >session-fill-surface-cube_new.py], 0, [ignore], [ignore])
     42AT_CHECK([../../molecuilderguitest session-fill-surface-cube_new.py], 0, [stdout], [stderr])
    4143AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    4244
     
    5052AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    5153AT_CHECK([chmod u+w water.xyz], 0)
    52 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cube1"            --shape-type "cube"             --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "cube1"  --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo  --redo
    53 ], 0, [stdout], [stderr])
     54AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cube1"            --shape-type "cube"             --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "cube1"  --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo  --redo --no-dry-run --store-session session-fill-surface-cube.py --session-type python], 0, [stdout], [stderr])
     55AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-cube.py >session-fill-surface-cube_new.py], 0, [ignore], [ignore])
     56AT_CHECK([../../molecuilderguitest session-fill-surface-cube_new.py], 0, [stdout], [stderr])
    5457AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    5558
  • tests/GuiChecks/Filling/FillSurface/testsuite-fill-surface-cylinder.at

    r9ac3d3 r209f4c  
    2424AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    2525AT_CHECK([chmod u+w water.xyz], 0)
    26 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cylinder1"                --shape-type "cylinder"                 --translation "10,10,0."                --stretch "5.,5.,20."   --select-shape-by-name "cylinder1"      --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"
    27 ], 0, [stdout], [stderr])
     26AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cylinder1"                --shape-type "cylinder"                 --translation "10,10,0."                --stretch "5.,5.,20."   --select-shape-by-name "cylinder1"      --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1" --no-dry-run --store-session session-fill-surface-cylinder.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-cylinder.py >session-fill-surface-cylinder_new.py], 0, [ignore], [ignore])
     28AT_CHECK([../../molecuilderguitest session-fill-surface-cylinder_new.py], 0, [stdout], [stderr])
    2829AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    2930
     
    3738AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    3839AT_CHECK([chmod u+w water.xyz], 0)
    39 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cylinder1"                --shape-type "cylinder"                 --translation "10,10,0."                --stretch "5.,5.,20."   --select-shape-by-name "cylinder1"      --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo
    40 ], 0, [stdout], [stderr])
     40AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cylinder1"                --shape-type "cylinder"                 --translation "10,10,0."                --stretch "5.,5.,20."   --select-shape-by-name "cylinder1"      --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo --no-dry-run --store-session session-fill-surface-cylinder.py --session-type python], 0, [stdout], [stderr])
     41AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-cylinder.py >session-fill-surface-cylinder_new.py], 0, [ignore], [ignore])
     42AT_CHECK([../../molecuilderguitest session-fill-surface-cylinder_new.py], 0, [stdout], [stderr])
    4143AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    4244
     
    5052AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    5153AT_CHECK([chmod u+w water.xyz], 0)
    52 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cylinder1"                --shape-type "cylinder"                 --translation "10,10,0."                --stretch "5.,5.,20."   --select-shape-by-name "cylinder1"      --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo  --redo
    53 ], 0, [stdout], [stderr])
     54AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "cylinder1"                --shape-type "cylinder"                 --translation "10,10,0."                --stretch "5.,5.,20."   --select-shape-by-name "cylinder1"      --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo  --redo --no-dry-run --store-session session-fill-surface-cylinder.py --session-type python], 0, [stdout], [stderr])
     55AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-cylinder.py >session-fill-surface-cylinder_new.py], 0, [ignore], [ignore])
     56AT_CHECK([../../molecuilderguitest session-fill-surface-cylinder_new.py], 0, [stdout], [stderr])
    5457AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    5558
  • tests/GuiChecks/Filling/FillSurface/testsuite-fill-surface-everywhere.at

    r9ac3d3 r209f4c  
    2424AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    2525AT_CHECK([chmod u+w water.xyz], 0)
    26 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "everywhere1"              --shape-type "everywhere"               --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "everywhere1"    --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1"
    27 ], 5, [stdout], [stderr])
     26AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "everywhere1"              --shape-type "everywhere"               --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "everywhere1"    --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1" --no-dry-run --store-session session-fill-surface-everywhere.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-everywhere.py >session-fill-surface-everywhere_new.py], 0, [ignore], [ignore])
     28AT_CHECK([../../molecuilderguitest session-fill-surface-everywhere_new.py], 5, [stdout], [stderr])
    2829#AT_CHECK([grep "20 out of 20 returned true from predicate" stdout], 0, [ignore], [ignore])
    2930#AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
  • tests/GuiChecks/Filling/FillSurface/testsuite-fill-surface-micelle.at

    r9ac3d3 r209f4c  
    2525AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/tensid.potentials .], 0)
    2626AT_CHECK([chmod u+w $file], 0)
    27 AT_CHECK([../../molecuilder     --parse-particle-parameters tensid.potentials   -i $file        --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1"
    28 ], 0, [stdout], [stderr])
     27AT_CHECK([../../molecuilder --dry-run   --parse-particle-parameters tensid.potentials   -i $file        --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1" --no-dry-run --store-session session-fill-surface-micelle.py --session-type python], 0, [stdout], [stderr])
     28AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-micelle.py >session-fill-surface-micelle_new.py], 0, [ignore], [ignore])
     29AT_CHECK([../../molecuilderguitest session-fill-surface-micelle_new.py], 0, [stdout], [stderr])
    2930AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/tensid.data], 0, [ignore], [ignore])
    3031
     
    3940AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/tensid.potentials .], 0)
    4041AT_CHECK([chmod u+w $file], 0)
    41 AT_CHECK([../../molecuilder     --parse-particle-parameters tensid.potentials   -i $file        --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1"        --undo
    42 ], 0, [stdout], [stderr])
     42AT_CHECK([../../molecuilder --dry-run   --parse-particle-parameters tensid.potentials   -i $file        --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1"        --undo --no-dry-run --store-session session-fill-surface-micelle.py --session-type python], 0, [stdout], [stderr])
     43AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-micelle.py >session-fill-surface-micelle_new.py], 0, [ignore], [ignore])
     44AT_CHECK([../../molecuilderguitest session-fill-surface-micelle_new.py], 0, [stdout], [stderr])
    4345AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    4446
     
    5355AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/tensid.potentials .], 0)
    5456AT_CHECK([chmod u+w $file], 0)
    55 AT_CHECK([../../molecuilder     --parse-particle-parameters tensid.potentials   -i $file        --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1"        --undo  --redo
    56 ], 0, [stdout], [stderr])
     57AT_CHECK([../../molecuilder --dry-run   --parse-particle-parameters tensid.potentials   -i $file        --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1"        --undo  --redo --no-dry-run --store-session session-fill-surface-micelle.py --session-type python], 0, [stdout], [stderr])
     58AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-micelle.py >session-fill-surface-micelle_new.py], 0, [ignore], [ignore])
     59AT_CHECK([../../molecuilderguitest session-fill-surface-micelle_new.py], 0, [stdout], [stderr])
    5760AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/tensid.data], 0, [ignore], [ignore])
    5861
  • tests/GuiChecks/Filling/FillSurface/testsuite-fill-surface-nowhere.at

    r9ac3d3 r209f4c  
    2424AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    2525AT_CHECK([chmod u+w water.xyz], 0)
    26 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "nowhere1"                 --shape-type "nowhere"          --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "nowhere1"       --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1"
    27 ], 5, [stdout], [stderr])
     26AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "nowhere1"                 --shape-type "nowhere"          --translation "0,0,0"           --stretch "20.,20.,20."         --select-shape-by-name "nowhere1"       --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,1" --no-dry-run --store-session session-fill-surface-nowhere.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-nowhere.py >session-fill-surface-nowhere_new.py], 0, [ignore], [ignore])
     28AT_CHECK([../../molecuilderguitest session-fill-surface-nowhere_new.py], 5, [stdout], [stderr])
    2829#AT_CHECK([grep "20 out of 20 returned true from predicate" stdout], 0, [ignore], [ignore])
    2930#AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
  • tests/GuiChecks/Filling/FillSurface/testsuite-fill-surface-sphere.at

    r9ac3d3 r209f4c  
    2424AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    2525AT_CHECK([chmod u+w water.xyz], 0)
    26 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"
    27 ], 0, [stdout], [stderr])
     26AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1" --no-dry-run --store-session session-fill-surface-sphere.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-sphere.py >session-fill-surface-sphere_new.py], 0, [ignore], [ignore])
     28AT_CHECK([../../molecuilderguitest session-fill-surface-sphere_new.py], 0, [stdout], [stderr])
    2829AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    2930
     
    3738AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    3839AT_CHECK([chmod u+w water.xyz], 0)
    39 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo
    40 ], 0, [stdout], [stderr])
     40AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo --no-dry-run --store-session session-fill-surface-sphere.py --session-type python], 0, [stdout], [stderr])
     41AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-sphere.py >session-fill-surface-sphere_new.py], 0, [ignore], [ignore])
     42AT_CHECK([../../molecuilderguitest session-fill-surface-sphere_new.py], 0, [stdout], [stderr])
    4143AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    4244
     
    5052AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillSurface/pre/water.xyz water.xyz], 0)
    5153AT_CHECK([chmod u+w water.xyz], 0)
    52 AT_CHECK([../../molecuilder     -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo  --redo
    53 ], 0, [stdout], [stderr])
     54AT_CHECK([../../molecuilder --dry-run   -i $file        -l water.xyz    --select-all-molecules  --rotate-to-principal-axis-system "0,0,-1"      --create-shape          --shape-name "sphere1"          --shape-type "sphere"           --translation "10,10,10"                --stretch "5.,5.,5."    --select-shape-by-name "sphere1"        --fill-surface          --count 20              --min-distance 3.1              --Alignment-Axis "0,0,-1"       --undo  --redo --no-dry-run --store-session session-fill-surface-sphere.py --session-type python], 0, [stdout], [stderr])
     55AT_CHECK([grep -v "Command.*DryRun" session-fill-surface-sphere.py >session-fill-surface-sphere_new.py], 0, [ignore], [ignore])
     56AT_CHECK([../../molecuilderguitest session-fill-surface-sphere_new.py], 0, [stdout], [stderr])
    5457AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillSurface/post/$file], 0, [ignore], [ignore])
    5558
  • tests/GuiChecks/Filling/FillVolume/testsuite-fill-volume-cube.at

    r9ac3d3 r209f4c  
    2525file=water_cube.xyz
    2626AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVolume/pre/water.xyz water.xyz], 0)
    27 AT_CHECK([
    28         ../../molecuilder               -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cube"                     --shape-type cube                       --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cube"           --fill-volume                   --count 12], 0, [stdout], [stderr])
     27AT_CHECK([../../molecuilder --dry-run           -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cube"                     --shape-type cube                       --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cube"           --fill-volume                   --count 12 --no-dry-run --store-session session-fill-volume-cube.py --session-type python], 0, [stdout], [stderr])
     28AT_CHECK([grep -v "Command.*DryRun" session-fill-volume-cube.py >session-fill-volume-cube_new.py], 0, [ignore], [ignore])
     29AT_CHECK([../../molecuilderguitest session-fill-volume-cube_new.py], 0, [stdout], [stderr])
    2930#AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillVolume/post/$file], 0, [ignore], [ignore])
    3031
  • tests/GuiChecks/Filling/FillVolume/testsuite-fill-volume-cylinder.at

    r9ac3d3 r209f4c  
    2323file=water_cylinder.xyz
    2424AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVolume/pre/water.xyz water.xyz], 0)
    25 AT_CHECK([
    26         ../../molecuilder               -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cylinder"                         --shape-type cylinder                   --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cylinder"               --fill-volume                   --count 12], 0, [stdout], [stderr])
     25AT_CHECK([../../molecuilder --dry-run           -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cylinder"                         --shape-type cylinder                   --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cylinder"               --fill-volume                   --count 12 --no-dry-run --store-session session-fill-volume-cylinder.py --session-type python], 0, [stdout], [stderr])
     26AT_CHECK([grep -v "Command.*DryRun" session-fill-volume-cylinder.py >session-fill-volume-cylinder_new.py], 0, [ignore], [ignore])
     27AT_CHECK([../../molecuilderguitest session-fill-volume-cylinder_new.py], 0, [stdout], [stderr])
    2728AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillVolume/post/$file], 0, [ignore], [ignore])
    2829
     
    3536file=water_cylinder.xyz
    3637AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVolume/pre/water.xyz water.xyz], 0)
    37 AT_CHECK([
    38         ../../molecuilder               -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cylinder"                         --shape-type cylinder                   --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cylinder"               --fill-volume                   --count 12              --undo], 0, [stdout], [stderr])
     38AT_CHECK([../../molecuilder --dry-run           -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cylinder"                         --shape-type cylinder                   --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cylinder"               --fill-volume                   --count 12              --undo --no-dry-run --store-session session-fill-volume-cylinder.py --session-type python], 0, [stdout], [stderr])
     39AT_CHECK([grep -v "Command.*DryRun" session-fill-volume-cylinder.py >session-fill-volume-cylinder_new.py], 0, [ignore], [ignore])
     40AT_CHECK([../../molecuilderguitest session-fill-volume-cylinder_new.py], 0, [stdout], [stderr])
    3941AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillVolume/post/water_undo.xyz], 0, [ignore], [ignore])
    4042
     
    4749file=water_cylinder.xyz
    4850AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVolume/pre/water.xyz water.xyz], 0)
    49 AT_CHECK([
    50         ../../molecuilder               -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cylinder"                         --shape-type cylinder                   --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cylinder"               --fill-volume                   --count 12              --undo          --redo], 0, [stdout], [stderr])
     51AT_CHECK([../../molecuilder --dry-run           -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "cylinder"                         --shape-type cylinder                   --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "cylinder"               --fill-volume                   --count 12              --undo          --redo --no-dry-run --store-session session-fill-volume-cylinder.py --session-type python], 0, [stdout], [stderr])
     52AT_CHECK([grep -v "Command.*DryRun" session-fill-volume-cylinder.py >session-fill-volume-cylinder_new.py], 0, [ignore], [ignore])
     53AT_CHECK([../../molecuilderguitest session-fill-volume-cylinder_new.py], 0, [stdout], [stderr])
    5154AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillVolume/post/$file], 0, [ignore], [ignore])
    5255
  • tests/GuiChecks/Filling/FillVolume/testsuite-fill-volume-everywhere.at

    r9ac3d3 r209f4c  
    2424file=water_nowhere.xyz
    2525AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVolume/pre/water.xyz water.xyz], 0)
    26 AT_CHECK([
    27         ../../molecuilder               -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "everywhere"                       --shape-type everywhere                         --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "everywhere"             --fill-volume                   --count 12], 5, [stdout], [stderr])
     26AT_CHECK([../../molecuilder --dry-run           -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "everywhere"                       --shape-type everywhere                         --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "everywhere"             --fill-volume                   --count 12 --no-dry-run --store-session session-fill-volume-everywhere.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([grep -v "Command.*DryRun" session-fill-volume-everywhere.py >session-fill-volume-everywhere_new.py], 0, [ignore], [ignore])
     28AT_CHECK([../../molecuilderguitest session-fill-volume-everywhere_new.py], 5, [stdout], [stderr])
    2829#AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillVolume/post/$file], 0, [ignore], [ignore])
    2930
  • tests/GuiChecks/Filling/FillVolume/testsuite-fill-volume-nowhere.at

    r9ac3d3 r209f4c  
    2424file=water_nowhere.xyz
    2525AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVolume/pre/water.xyz water.xyz], 0)
    26 AT_CHECK([
    27         ../../molecuilder               -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "nowhere"                  --shape-type nowhere                    --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "nowhere"                --fill-volume                   --count 12], 5, [stdout], [stderr])
     26AT_CHECK([../../molecuilder --dry-run           -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "nowhere"                  --shape-type nowhere                    --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "nowhere"                --fill-volume                   --count 12 --no-dry-run --store-session session-fill-volume-nowhere.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([grep -v "Command.*DryRun" session-fill-volume-nowhere.py >session-fill-volume-nowhere_new.py], 0, [ignore], [ignore])
     28AT_CHECK([../../molecuilderguitest session-fill-volume-nowhere_new.py], 5, [stdout], [stderr])
    2829#AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillVolume/post/$file], 0, [ignore], [ignore])
    2930
  • tests/GuiChecks/Filling/FillVolume/testsuite-fill-volume-sphere.at

    r9ac3d3 r209f4c  
    2525file=water_sphere.xyz
    2626AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVolume/pre/water.xyz water.xyz], 0)
    27 AT_CHECK([
    28         ../../molecuilder               -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "sphere"                   --shape-type sphere                     --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "sphere"                 --fill-volume                   --count 12], 0, [stdout], [stderr])
     27AT_CHECK([../../molecuilder --dry-run           -i $file                -o xyz          -l water.xyz            --select-all-molecules          --create-shape                  --shape-name "sphere"                   --shape-type sphere                     --translation 5,5,5                     --stretch 3,3,3                 --select-shape-by-name "sphere"                 --fill-volume                   --count 12 --no-dry-run --store-session session-fill-volume-sphere.py --session-type python], 0, [stdout], [stderr])
     28AT_CHECK([grep -v "Command.*DryRun" session-fill-volume-sphere.py >session-fill-volume-sphere_new.py], 0, [ignore], [ignore])
     29AT_CHECK([../../molecuilderguitest session-fill-volume-sphere_new.py], 0, [stdout], [stderr])
    2930#AT_CHECK([diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/FillVolume/post/$file], 0, [ignore], [ignore])
    3031
  • tests/GuiChecks/Fragmentation/testsuite-fragmentation.at

    r9ac3d3 r209f4c  
    3131m4_include([Fragmentation/StoreSaturatedFragment/testsuite-fragmentation-store-saturated-fragment.at])
    3232
     33# check whether helper program works
     34m4_include([Fragmentation/DiffFragmentResultContainer/testsuite-fragmentation-difffragmenresultcontainer.at])
     35
    3336# check automation
    3437m4_include([Fragmentation/FragmentationAutomation/testsuite-fragmentation-fragmentation-automation.at])
  • tests/GuiChecks/Graph/testsuite-graph.at

    r9ac3d3 r209f4c  
    3333# Subgraph dissection with specific boundary conditions
    3434m4_include([Graph/SubgraphDissection-BoundaryConditions/testsuite-graph-subgraph-dissection_boundary-conditions.at])
     35
     36# evaluate the chemical space of a given graph
     37m4_include([Graph/ChemicalSpaceEvaluator/testsuite-chemical-space-evaluator.at])
  • tests/GuiChecks/Makefile.am

    r9ac3d3 r209f4c  
    66        $(srcdir)/./Testlauncher/testsuite-testlauncher-works.at \
    77        $(srcdir)/./Fragmentation/FragmentMolecule/testsuite-fragmentation-fragment-molecule.at \
     8        $(srcdir)/./Fragmentation/DiffFragmentResultContainer/testsuite-fragmentation-difffragmenresultcontainer.at \
    89        $(srcdir)/./Fragmentation/ParseSaveFragmentResults/testsuite-fragmentation-parse-save-fragment-results.at \
    910        $(srcdir)/./Fragmentation/testsuite-fragmentation.at \
     
    158159        $(srcdir)/./Graph/SubgraphDissection-BoundaryConditions/testsuite-graph-subgraph-dissection_boundary-conditions.at \
    159160        $(srcdir)/./Graph/SubgraphDissection/testsuite-graph-subgraph-dissection.at \
     161        $(srcdir)/./Graph/ChemicalSpaceEvaluator/testsuite-chemical-space-evaluator.at \
    160162        $(srcdir)/./RandomNumbers/testsuite-randomnumbers.at \
    161163        $(srcdir)/./RandomNumbers/Engine/testsuite-set-random-number-engine.at \
  • tests/GuiChecks/Molecules/ForceAnnealing/testsuite-molecules-force-annealing.at

    r9ac3d3 r209f4c  
    2525AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/pre/test.forces .], 0)
    2626AT_CHECK([chmod u+w $file], 0)
    27 AT_CHECK([../../molecuilder --dry-run -i $file --select-all-atoms --force-annealing --forces-file test.forces --steps 1 --no-dry-run --store-session session-molecules-force-annealing.py --session-type python], 0, [stdout], [stderr])
     27AT_CHECK([../../molecuilder --dry-run -i $file -I --select-all-atoms --step-world-time 1 --force-annealing --forces-file test.forces --steps 1 --no-dry-run --store-session session-molecules-force-annealing.py --session-type python], 0, [stdout], [stderr])
    2828AT_CHECK([grep -v "Command.*DryRun" session-molecules-force-annealing.py >session-molecules-force-annealing_new.py], 0, [ignore], [ignore])
    2929AT_CHECK([../../molecuilderguitest session-molecules-force-annealing_new.py], 0, [stdout], [stderr])
     
    3333
    3434
    35 AT_SETUP([Molecules - Force Annealing with Undo])
     35# here, we have only one step in the trajectories
     36AT_SETUP([Molecules - Force Annealing with Undo I])
    3637AT_KEYWORDS([molecules force-annealing undo])
    3738
     
    4041AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/pre/test.forces .], 0)
    4142AT_CHECK([chmod u+w $file], 0)
    42 AT_CHECK([../../molecuilder --dry-run -i $file --select-all-atoms --force-annealing --forces-file test.forces --steps 1 --undo --no-dry-run --store-session session-molecules-force-annealing.py --session-type python], 0, [stdout], [stderr])
     43AT_CHECK([../../molecuilder --dry-run -i $file --select-all-atoms --step-world-time 1 --force-annealing --forces-file test.forces --steps 1 --undo --no-dry-run --store-session session-molecules-force-annealing.py --session-type python], 0, [stdout], [stderr])
    4344AT_CHECK([grep -v "Command.*DryRun" session-molecules-force-annealing.py >session-molecules-force-annealing_new.py], 0, [ignore], [ignore])
    4445AT_CHECK([../../molecuilderguitest session-molecules-force-annealing_new.py], 0, [stdout], [stderr])
    4546AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/post/test-undo.conf], 0, [ignore], [ignore])
     47
     48AT_CLEANUP
     49
     50
     51# here two steps are present already
     52AT_SETUP([Molecules - Force Annealing with Undo II])
     53AT_KEYWORDS([molecules force-annealing undo])
     54
     55file=test2.conf
     56AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/pre/test2.conf $file], 0)
     57AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/pre/test.forces .], 0)
     58AT_CHECK([chmod u+w $file], 0)
     59AT_CHECK([../../molecuilder --dry-run -i $file --select-all-atoms --set-world-time 1 --force-annealing --forces-file test.forces --steps 1 --undo --no-dry-run --store-session session-molecules-force-annealing.py --session-type python], 0, [stdout], [stderr])
     60AT_CHECK([grep -v "Command.*DryRun" session-molecules-force-annealing.py >session-molecules-force-annealing_new.py], 0, [ignore], [ignore])
     61AT_CHECK([../../molecuilderguitest session-molecules-force-annealing_new.py], 0, [stdout], [stderr])
     62AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/post/test-undo2.conf], 0, [ignore], [ignore])
    4663
    4764AT_CLEANUP
     
    5572AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/pre/test.forces .], 0)
    5673AT_CHECK([chmod u+w $file], 0)
    57 AT_CHECK([../../molecuilder --dry-run -i $file --select-all-atoms --force-annealing --forces-file test.forces --steps 1 --undo --redo --no-dry-run --store-session session-molecules-force-annealing.py --session-type python], 0, [stdout], [stderr])
     74AT_CHECK([../../molecuilder --dry-run -i $file --select-all-atoms --step-world-time 1 --force-annealing --forces-file test.forces --steps 1 --undo --redo --no-dry-run --store-session session-molecules-force-annealing.py --session-type python], 0, [stdout], [stderr])
    5875AT_CHECK([grep -v "Command.*DryRun" session-molecules-force-annealing.py >session-molecules-force-annealing_new.py], 0, [ignore], [ignore])
    5976AT_CHECK([../../molecuilderguitest session-molecules-force-annealing_new.py], 0, [stdout], [stderr])
Note: See TracChangeset for help on using the changeset viewer.