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 (40 lines) | stat: -rwxr-xr-x 819 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash

. ../MasterTest.sh

CleanFiles ws.in ws.agr ws.ortho.agr ws.noimage.agr

TESTNAME='Watershell tests'
Requires netcdf maxthreads 10
INPUT="ws.in"

# Non-orthorhombic imaging
TOP=../tz2.truncoct.parm7
cat > ws.in <<EOF
trajin ../tz2.truncoct.nc
watershell !:WAT ws.agr Tz2
EOF
RunCpptraj "Watershell Test, non-orthorhombic imaging."
DoTest ws.agr.save ws.agr

# Orthorhombic imaging
TOP=../tz2.ortho.parm7
cat > ws.in <<EOF
trajin ../tz2.ortho.nc
watershell !:WAT ws.ortho.agr Tz2
EOF
RunCpptraj "Watershell Test, orthorhombic imaging."
DoTest ws.ortho.agr.save ws.ortho.agr

# No imaging
TOP=../tz2.truncoct.parm7
cat > ws.in <<EOF
trajin ../tz2.truncoct.nc
watershell !:WAT ws.noimage.agr Tz2 noimage
EOF
RunCpptraj "Watershell Test, no imaging."
DoTest ws.noimage.agr.save ws.noimage.agr

EndTest

exit 0