File: changes_has_content.t

package info (click to toggle)
libcrypt-random-source-perl 0.14-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 360 kB
  • sloc: perl: 556; sh: 6; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use warnings;

use Test::More;
plan skip_all => 'xt/release/changes_has_content.t is missing' if not -e 'xt/release/changes_has_content.t';

my $branch_name = $ENV{TRAVIS_BRANCH};
chomp($branch_name = `git rev-parse --abbrev-ref HEAD`) if not $branch_name;
$TODO = 'Changes need not have content for this release yet if this is only the master branch'
    if ($branch_name || '') eq 'master';

do './xt/release/changes_has_content.t';
die $@ if $@;