Skip to contentSkip to conversation

onig: Ignore .debug directories while finding ptests

PATCH New Khem Raj 1 participant 1 message Apr 13, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 onig: Ignore .debug directories while finding ptests

.debug directories maybe generated when building ptest images with pkgs-dbg, these directories should be ignored in run-ptest script where it tries to find test binaries to execute

---
 meta-oe/recipes-support/onig/onig/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/onig/onig/run-ptest +1 -1
index 2574d7efa5..fbce336990 100755
@@ -17,7 +17,7 @@ workdir=$(mktemp -d -t onig.ptest.XXXXXX)
 status="${workdir}/failed"
 touch "${status}"
 
-find tests/ -perm -111 -type f -exec sh -c '
+find tests/ -perm -111 -type f ! -path "tests/.debug/*" -exec sh -c '
     workdir="${1}"
     status="${2}"
     t="${3}"
Signature · 1 line
2.40.0