瀏覽代碼

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 年之前
父節點
當前提交
84179d4a04
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {