Source

opennms-mirror / run-tests.pl

Full commit
#!/usr/bin/env perl

use Cwd qw(abs_path);
use File::Basename qw(dirname);

# include script functions
use vars qw(
	$PREFIX
	$TESTS
);
$TESTS = 1;
$PREFIX = abs_path(dirname($0));
require($PREFIX . "/functions.pl");

if (not defined $GIT) {
	exit 1;
}

clean_git() unless (exists $ENV{'SKIP_CLEAN'});

my @command = ($MVN, '-P!jspc', 'install');
info("running:", @command);
handle_errors_and_exit_on_failure(system(@command));

exit 0;