mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
travis: remove the check for the nvidia plugin
This commit is contained in:
parent
6c2a996879
commit
58f0ab64f3
3 changed files with 7 additions and 2 deletions
|
@ -58,8 +58,9 @@ install:
|
|||
- cpanm --notest XML::Simple
|
||||
- cpanm --notest XML::Smart
|
||||
- cpanm --notest XML::Twig
|
||||
- cpanm --notest nvidia::ml
|
||||
- cpanm --notest experimental
|
||||
# Modules used bu plugins, but not compiling from CPAN
|
||||
# - cpanm --notest nvidia::ml
|
||||
# Modules used by plugins, but missing on cpan
|
||||
# - File::Tail::Multi
|
||||
# - Sun::Solaris::Kstat
|
||||
|
|
0
plugins/gpu/nvidia_smi_.nocheck
Normal file
0
plugins/gpu/nvidia_smi_.nocheck
Normal file
6
t/test.t
6
t/test.t
|
@ -48,7 +48,11 @@ sub process_file {
|
|||
my ( $file, $filename, $interpreter, $arguments ) = @_;
|
||||
use v5.10.1;
|
||||
|
||||
if ( ! -x $file ) {
|
||||
if ( -r "$file.nocheck") {
|
||||
skip( sprintf("\nFile '%s' has a .nocheck flag. Ignoring\n", $file), 1);
|
||||
pass("Not pretending everything is ok");
|
||||
}
|
||||
elsif ( ! -x $file ) {
|
||||
# missing executable flag
|
||||
diag(
|
||||
sprintf("\nFile '%s' lacks executable permission bits. Maybe try 'chmod +x $file'?\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue