#!/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


syntax highlighted by Code2HTML, v. 0.9.1