Permalink
Browse files

Use the slightly more standard RELEASE_TESTING env variable.

  • Loading branch information...
1 parent b5ed81c commit 22d38bd8050ef69357fa07c7fc9532f086ed9234 @juster committed Oct 25, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 PKGBUILD
  2. +1 −1 PKGBUILD.git
  3. +2 −2 t/02-build.t
View
2 PKGBUILD
@@ -18,7 +18,7 @@ url='http://github.com/juster/perl-cpanplus-dist-arch'
build() {
export PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR=$pkgdir" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC='/dev/null' TEST_RELEASE=1
+ MODULEBUILDRC='/dev/null' RELEASE_TESTING=1
cd "$startdir"
msg 'Building CPANPLUS::Dist::Arch...'
View
2 PKGBUILD.git
@@ -43,7 +43,7 @@ build() {
( export PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR=$pkgdir" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC='/dev/null' TEST_RELEASE=1
+ MODULEBUILDRC='/dev/null' RELEASE_TESTING=1
msg 'Building CPANPLUS::Dist::Arch...'
cd "$DIST_DIR"
View
4 t/02-build.t
@@ -12,8 +12,8 @@ my $TEST_MODULE = 'Acme::Bleach';
plan skip_all => 'build testing requires pacman & makepkg installed'
unless ( CPANPLUS::Dist::Arch::format_available );
-plan skip_all => 'skipping slower developer tests'
- unless $ENV{ 'TEST_RELEASE' };
+plan skip_all => 'skipping the slower release tests'
+ unless $ENV{'RELEASE_TESTING'};
plan tests => 5;

0 comments on commit 22d38bd

Please sign in to comment.