diff options
author | Guillaume Rousse <guillomovitch@gmail.com> | 2018-08-04 11:38:58 +0200 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@gmail.com> | 2018-08-04 11:38:58 +0200 |
commit | 74dda3621199abf403c9e93cac064b8f6c171dc3 (patch) | |
tree | 3e914dfd6c689ca664aed2d8ce81dd5d22c765a6 | |
parent | 0ff382b099d225c542bd772723bec993a6c9a9a2 (diff) | |
download | spec-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-x | t/run.t | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -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" ); |