diff options
Diffstat (limited to 't/scripts/RunGuileTests.pl')
-rwxr-xr-x | t/scripts/RunGuileTests.pl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/t/scripts/RunGuileTests.pl b/t/scripts/RunGuileTests.pl new file mode 100755 index 0000000..a61a18a --- /dev/null +++ b/t/scripts/RunGuileTests.pl @@ -0,0 +1,36 @@ +#!/usr/bin/perl -w +# Run Guile tests - filenames are given as arguments to the script. +######################################################################## +# +# Copyright (C) 2008 Omer Zak. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this library, in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307 USA +# +# For licensing issues, contact <w1@zak.co.il>. +# +######################################################################## + +use strict; +use TAP::Harness; +my @tests = @ARGV; +my %args = ( + verbosity => 0, + timer => 1, + exec => ['/usr/bin/guile', '-s'], + ); +my $harness = TAP::Harness->new( \%args ); + $harness->runtests(@tests); + +# End of RunGuileTests.pl |