mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/wireshark: Add some test requirements
According to test/README.test:
- pytest{,-xdist} are needed
- the test-programs target needs to be built (manually)
This should allow the suite_unittests target to pass.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
@@ -17,7 +17,7 @@ IUSE="
|
||||
+dumpcap +editcap http2 kerberos libxml2 lua lz4 maxminddb +mergecap
|
||||
+minizip +netlink +plugins plugin-ifdemo +pcap +qt5 +randpkt +randpktdump
|
||||
+reordercap sbc selinux +sharkd smi snappy spandsp sshdump ssl sdjournal
|
||||
+text2pcap tfshark +tshark +udpdump zlib +zstd
|
||||
test +text2pcap tfshark +tshark +udpdump zlib +zstd
|
||||
"
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
@@ -74,6 +74,10 @@ BDEPEND="
|
||||
qt5? (
|
||||
dev-qt/linguist-tools:5
|
||||
)
|
||||
test? (
|
||||
dev-python/pytest
|
||||
dev-python/pytest-xdist
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
@@ -174,6 +178,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_build test-programs
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ IUSE="
|
||||
+dumpcap +editcap http2 kerberos libxml2 lua lz4 maxminddb +mergecap
|
||||
+minizip +netlink +plugins plugin-ifdemo +pcap +qt5 +randpkt +randpktdump
|
||||
+reordercap sbc selinux +sharkd smi snappy spandsp sshdump ssl sdjournal
|
||||
+text2pcap tfshark +tshark +udpdump zlib
|
||||
test +text2pcap tfshark +tshark +udpdump zlib
|
||||
"
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
@@ -73,6 +73,10 @@ BDEPEND="
|
||||
qt5? (
|
||||
dev-qt/linguist-tools:5
|
||||
)
|
||||
test? (
|
||||
dev-python/pytest
|
||||
dev-python/pytest-xdist
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
@@ -168,6 +172,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_build test-programs
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user