Procházet zdrojové kódy

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 před 6 roky
rodič
revize
84179d4a04
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      utils/scancpan

+ 1 - 1
utils/scancpan

@@ -578,7 +578,7 @@ sub find_license_files {
 
 sub want_test {
     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 {