Răsfoiți Sursa

utils/scancpan: allow the generation of more tests

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Francois Perrad 6 ani în urmă
părinte
comite
84179d4a04
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      utils/scancpan

+ 1 - 1
utils/scancpan

@@ -578,7 +578,7 @@ sub find_license_files {
 
 
 sub want_test {
 sub want_test {
     my ($distname) = @_;
     my ($distname) = @_;
-    return 1 if $need_dlopen{$distname} && scalar @{$deps_runtime{$distname}} > 1;
+    return 1 if $need_dlopen{$distname} && scalar @{$deps_runtime{$distname}} > 0;
 }
 }
 
 
 sub get_dependencies {
 sub get_dependencies {