Branch Coverage

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


line true false branch
36 0 0 unless system('git', 'clone', '-q', $git_url, 'linux') == 0
39 0 0 unless system('git', 'checkout', $git_rev) == 0
51 0 0 unless -e $config_file
54 0 0 unless system("cp $config_file .config") == 0
63 0 0 unless system('make', 'clean') == 0
66 0 0 unless system('yes ""|make oldconfig') == 0
69 0 0 unless system('make', '-j8') == 0
72 0 0 unless system('make', 'install') == 0
75 0 0 unless system('make', 'modules_install') == 0
93 0 0 unless (-e "/boot/$kernel_file")
94 0 0 if (-e "/boot/vmlinuz-$kernelversion+")
99 0 0 if (-e '/boot/bzImage')
103 0 0 if (-e "/boot/bzImage-$kernelversion")
107 0 0 if (-e "/boot/bzImage-$kernelversion+")
113 0 0 if (@files)
124 0 0 unless system("depmod $kernelversion") == 0
133 0 0 unless system($mkinitrd_command) == 0
139 0 0 if $error
141 0 0 if $error
152 0 0 unless my $git_url = $$build{'git_url'}
160 0 0 unless -e $git_path
163 0 0 unless defined $read and defined $write
168 0 0 unless defined $pid
171 0 0 if ($pid == 0) { }
191 0 0 unless open STDOUT, '>>', "$output_file.stdout"
192 0 0 unless open STDERR, '>>', "$output_file.stderr"
195 0 0 if ($error)
201 0 0 if ($error)
221 0 0 if ($error)
227 0 0 if ($error)
241 0 0 unless $tmpout
245 0 0 if (-e $self->cfg->{'paths'}{'base_dir'} . '/tmp/bootdir-content')
254 0 0 if ($?)