aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@gmail.com>2018-08-04 11:38:58 +0200
committerGuillaume Rousse <guillomovitch@gmail.com>2018-08-04 11:38:58 +0200
commit74dda3621199abf403c9e93cac064b8f6c171dc3 (patch)
tree3e914dfd6c689ca664aed2d8ce81dd5d22c765a6
parent0ff382b099d225c542bd772723bec993a6c9a9a2 (diff)
downloadspec-helper-74dda3621199abf403c9e93cac064b8f6c171dc3.tar
spec-helper-74dda3621199abf403c9e93cac064b8f6c171dc3.tar.gz
spec-helper-74dda3621199abf403c9e93cac064b8f6c171dc3.tar.bz2
spec-helper-74dda3621199abf403c9e93cac064b8f6c171dc3.tar.xz
spec-helper-74dda3621199abf403c9e93cac064b8f6c171dc3.zip
add chek_desktop_files to the tests list
-rwxr-xr-xt/run.t19
1 files changed, 17 insertions, 2 deletions
diff --git a/t/run.t b/t/run.t
index fa435aa..7f0b24b 100755
--- a/t/run.t
+++ b/t/run.t
@@ -5,14 +5,29 @@ use strict;
use warnings;
use IPC::Run qw/run/;
-use Test::More tests => 54;
+use Test::More;
use FindBin qw/$Bin/;
use File::Temp qw/tempdir/;
+my @programs = qw/
+ clean_files
+ compress_files
+ relink_symlinks
+ gprintify
+ translate_menu
+ remove_info_dir
+ fix_pamd
+ fix_eol
+ check_elf_files
+ check_desktop_files
+/;
+
+plan tests => @programs * 6;
+
my ($out, $err);
delete $ENV{RPM_BUILD_ROOT};
-foreach my $prog (qw/clean_files compress_files relink_symlinks gprintify translate_menu remove_info_dir fix_pamd fix_eol check_elf_files/) {
+foreach my $prog (@programs) {
($out, $err) = run_prog($prog);
is( $out, '', "$prog stdin without buildroot" );