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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.