summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/uncovered
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /scripts/contrib/uncovered
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/uncovered')
-rwxr-xr-xscripts/contrib/uncovered26
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/contrib/uncovered b/scripts/contrib/uncovered
deleted file mode 100755
index f16128cb7a..0000000000
--- a/scripts/contrib/uncovered
+++ /dev/null
@@ -1,26 +0,0 @@
1#!/bin/bash -eur
2#
3# Find python modules uncovered by oe-seltest
4#
5# Copyright (c) 2016, Intel Corporation
6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
9# Author: Ed Bartosh <ed.bartosh@linux.intel.com>
10#
11
12if [ ! "$#" -eq 1 -o -t 0 ] ; then
13 echo 'Usage: coverage report | ./scripts/contrib/uncovered <dir>' 1>&2
14 exit 1
15fi
16
17path=$(readlink -ev $1)
18
19if [ ! -d "$path" ] ; then
20 echo "directory $1 doesn't exist" 1>&2
21 exit 1
22fi
23
24diff -u <(grep "$path" | grep -v '0%$' | cut -f1 -d: | sort) \
25 <(find $path | xargs file | grep 'Python script' | cut -f1 -d:| sort) | \
26 grep "^+$path" | cut -c2-