Révision 6b5e75a0
Tidy with perltidy
| t/test.t | ||
|---|---|---|
| 66 | 66 |
} |
| 67 | 67 |
elsif ( $interpreter =~ m{python} ) {
|
| 68 | 68 |
ok( check_file_with( |
| 69 |
[ 'pylint', '--rcfile=/dev/null', '--errors-only', '--report=no', $file ] |
|
| 69 |
[ 'pylint', '--rcfile=/dev/null', |
|
| 70 |
'--errors-only', '--report=no', |
|
| 71 |
$file |
|
| 72 |
] |
|
| 70 | 73 |
), |
| 71 | 74 |
$filename . " python syntax check" |
| 72 | 75 |
); |
| ... | ... | |
| 102 | 105 |
return 1; |
| 103 | 106 |
} |
| 104 | 107 |
else {
|
| 105 |
diag(sprintf("\nCommand: %s\n\nSTDOUT:\n\n%s\n\nSTDERR:\n\n%s\n\n", join(" ", @{$check_command}), $stdout, $stderr));
|
|
| 108 |
diag( |
|
| 109 |
sprintf( |
|
| 110 |
"\nCommand: %s\n\nSTDOUT:\n\n%s\n\nSTDERR:\n\n%s\n\n", |
|
| 111 |
join( " ", @{$check_command} ),
|
|
| 112 |
$stdout, $stderr |
|
| 113 |
) |
|
| 114 |
); |
|
| 106 | 115 |
return; |
| 107 | 116 |
} |
| 108 | 117 |
} |
Formats disponibles : Unified diff