Skip to contentSkip to conversation

c-ares: Filter out "Live" tests

PATCH New Alex Kiernan 1 participant 2 messages Dec 31, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 c-ares: Filter out "Live" tests

Inside a default runqemu there's no resolv.conf, so the "Live" tests fail, exclude them by default.

---

 meta-oe/recipes-support/c-ares/c-ares/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/c-ares/c-ares/run-ptest +1 -1
index 15971dec058c..46572111b5cf 100644
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if ./arestest; then
+if ./arestest --gtest_filter=-*.Live*; then
 	echo "PASS: c-ares"
 else
 	echo "FAIL: c-ares"
Signature · 1 line
2.39.0
#1 lore raw

PATCH 2/2 ptest-packagelists-meta-oe.inc Add c-ares to PTESTS_SLOW_META_OE

These take around 50s to run.

---

 meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/conf/include/ptest-packagelists-meta-oe.inc +1 -0
index 9182acf44915..06c7de3f8b33 100644
@@ -46,6 +46,7 @@ PTESTS_FAST_META_OE:remove:riscv64 = "nodejs"
 PTESTS_FAST_META_OE:remove:riscv32 = "nodejs"
 
 PTESTS_SLOW_META_OE = "\
+    c-ares \
     fftw \
     libusb-compat \
     rsyslog \
Signature · 1 line
2.39.0