File: test-set.sh

package info (click to toggle)
openbabel 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 37,188 kB
  • ctags: 47,193
  • sloc: cpp: 237,858; ansic: 85,555; cs: 22,219; java: 14,377; sh: 9,876; perl: 5,432; python: 4,319; pascal: 793; makefile: 683; xml: 97; ruby: 54
file content (15 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# test Open Babel with roundtripping if the test suite exists
#   (just un-tar into this folder as "test-set" and it'll run)

echo
if [ -d test-set ]; then
    echo "# Testing molecule file roundtripping..."
    echo "# This test will take quite some time!"
    echo "# and it currently always passes, so check the results file"
    (cd test-set; source test.sh >/dev/null 2>&1)
    echo "1..1"
    echo "ok 1"
else
    echo "1..0 # skipping - roundtrip test set not found."
fi