File: RunTest.sh

package info (click to toggle)
cpptraj 5.1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 138,900 kB
  • sloc: cpp: 145,621; ansic: 34,635; sh: 11,365; f90: 971; makefile: 770; awk: 242
file content (25 lines) | stat: -rwxr-xr-x 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

. ../MasterTest.sh

TESTNAME='Charmm parameters tests'

CleanFiles cpptraj.in test3.parm7 testdata.prm

INPUT='-i cpptraj.in'

UNITNAME='Test updating topology with Charmm parameters (single residue)'
cat > cpptraj.in <<EOF
parm lys.parm7
readdata kcx.str as charmmrtfprm name MyParm
list dataset
updateparameters parmindex 0 setname MyParm
parmwrite out test3.parm7
writedata testdata.prm lys.parm7 
EOF
RunCpptraj "$UNITNAME"
DoTest test3.parm7.save test3.parm7 -I %VERSION
DoTest testdata.prm.save testdata.prm

EndTest
exit 0