~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to test/aromatic.pl

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-07-22 23:54:58 UTC
  • mfrom: (3.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722235458-3o606czluviz4akx
Tags: 2.2.0-2
* Upload to unstable.
* debian/control: Updated descriptions.
* debian/patches/gauss_cube_format.patch: New patch, makes the 
  gaussian cube format available again.
* debian/rules (DEB_DH_MAKESHLIBS_ARGS_libopenbabel3): Removed.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Likewise.
* debian/libopenbabel3.install: Adjust formats directory to single 
  version hierarchy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl
 
2
use Env qw(TESTDATADIR);
 
3
 
 
4
if (defined $TESTDATADIR) {
 
5
    system("./aromatic $TESTDATADIR/aromatics.smi");
 
6
} else {
 
7
    system("./aromatic files/aromatics.smi");
 
8
}
 
9
 
 
10
# If the program failed to execute, ignore the test
 
11
if ($? == -1) {
 
12
    print "1..0 skip because program would not run";
 
13
}
 
14
 
 
15
# Otherwise exit
 
16
exit($? >>8);