meta-openembedded/meta-networking/conf/include/ptest-packagelists-meta-networking.inc
Gyorgy Sarvari 03328f6c73
tinyproxy: add ptest support
It takes <10s to execute.

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-23T17:45
BEGIN: /usr/lib/tinyproxy/ptest
starting web server... done (listening on 127.0.0.3:32123)
starting tinyproxy... done (listening on 127.0.0.2:12321)
waiting for 1 seconds.. done
checking direct connection to web server... ok
testing connection through tinyproxy... ok
requesting statspage via stathost url... ok
signaling tinyproxy to reload config...ok
checking direct connection to web server... ok
testing connection through tinyproxy... ok
requesting statspage via stathost url... ok
checking bogus request... ok, got expected error code 400
testing connection to filtered domain... ok, got expected error code 403
requesting connect method to denied port... ok, got expected error code 403
testing unavailable backend... ok, got expected error code 502
0 errors
killing tinyproxy... ok
killing webserver... ok
done
PASS: run_tests.sh
DURATION: 1
END: /usr/lib/tinyproxy/ptest
2025-12-23T17:45
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-24 13:18:25 -08:00

54 lines
1.2 KiB
C++

#
# Lists of the ptest in meta-networking, sorted into two sets by the time they take
# Please keep these sorted in alphabetical order
#
# A first pass at getting all meta-networking recipes which inherit ptest
# meta_networking_ptest_recipes=$(bitbake-layers show-recipes --recipes-only --layer meta-networking --inherits ptest --bare | sed -e '1,/=== Matching recipes: ===/d')
# ptests which take less than ~30s each
PTESTS_FAST_META_NETWORKING = "\
freediameter \
geoip \
geoip-perl \
libcoap \
libldb \
libnftnl \
libtalloc \
libtdb \
libtevent \
lldpd \
mbedtls \
openhpi \
openl2tp \
python3-scapy \
squid \
tcpdump \
tinyproxy \
unbound \
wolfssl \
"
PTESTS_FAST_META_NETWORKING:remove:libc-musl = "\
libtalloc \
libtevent \
libtdb \
openhpi \
"
# firewalld currently hangs forever so disable it for now
# firewalld
PTESTS_SLOW_META_NETWORKING = "\
lksctp-tools \
net-snmp \
openvpn \
"
PTESTS_PROBLEMS_META_NETWORKING = "\
nftables \
"
PTESTS_PROBLEMS_META_NETWORKING:append:libc-musl = "\
libtalloc \
libtevent \
libtdb \
openhpi \
"