File: test.sh

package info (click to toggle)
librcsb-core-wrapper 1.005-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,420 kB
  • ctags: 3,504
  • sloc: xml: 122,915; cpp: 25,250; ansic: 3,737; makefile: 1,033; sh: 784; lex: 294; yacc: 235; perl: 213; python: 121; csh: 30
file content (25 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download | duplicates (6)
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

# Save test start time
START_TIME=$(date +%s)

# Execute all tests

#
# This scripts assumes that the Xerces libary path is known to the
# executing environment.

../bin/xml2mmcif -xml `pwd`/1ysh.xml -df mmcif_pdbx.odb -dict mmcif_pdbx.dic

# Save test end time
END_TIME=$(date +%s)

DIFF_TIME=$(( $END_TIME - $START_TIME ))

echo "Tests execution time is $DIFF_TIME seconds." > exectime.txt

echo
echo
cat exectime.txt
echo
echo