Branch Coverage

blib/lib/Tapper/Installer/Precondition/Kernelbuild.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
31 0 0 unless system("git", "clone", "-q", $git_url, "linux") == 0
34 0 0 unless system("git", "checkout", $git_rev) == 0
46 0 0 unless -e $config_file
49 0 0 unless system("cp $config_file .config") == 0
58 0 0 unless system("make", "clean") == 0
61 0 0 unless system("yes \"\"|make oldconfig") == 0
64 0 0 unless system("make", "-j8") == 0
67 0 0 unless system("make", "install") == 0
70 0 0 unless system("make", "modules_install") == 0
88 0 0 unless (-e "/boot/$kernel_file")
89 0 0 if (-e "/boot/vmlinuz-$kernelversion+")
94 0 0 if (-e "/boot/bzImage")
98 0 0 if (-e "/boot/bzImage-$kernelversion")
102 0 0 if (-e "/boot/bzImage-$kernelversion+")
108 0 0 if (@files)
119 0 0 unless system("depmod $kernelversion") == 0
128 0 0 unless system($mkinitrd_command) == 0
134 0 0 if $error
136 0 0 if $error
147 0 0 unless my $git_url = $build->{'git_url'}
155 0 0 unless -e $git_path
158 0 0 unless defined $read and defined $write
163 0 0 unless defined $pid
166 0 0 if ($pid == 0) { }
186 0 0 unless open STDOUT, ">>", "$output_file.stdout"
187 0 0 unless open STDERR, ">>", "$output_file.stderr"
190 0 0 if ($error)
196 0 0 if ($error)
216 0 0 if ($error)
222 0 0 if ($error)
236 0 0 unless $tmpout
240 0 0 if (-e $self->cfg->{'paths'}{'base_dir'} . "/tmp/bootdir-content")
249 0 0 if ($?)