utils/scancpan: allow the generation of more tests
authorFrancois Perrad <fperrad@gmail.com>
Tue, 4 Dec 2018 04:37:50 +0000 (05:37 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 6 Dec 2018 21:20:10 +0000 (22:20 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/scancpan

index 6592afc2fd163f9b2118cfba5758db66d6a3b461..8073ad1978f1be48b279e07f3fb356488948e085 100755 (executable)
@@ -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 {