tsduck: disable tests failing in sandbox

Network tests succeed outside of sandbox, as they call 'localhost'.
Disable to allow building in sandbox.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2022-09-21 15:13:14 +02:00
parent 287131c409
commit 6399ed7b55
No known key found for this signature in database
GPG key ID: 0437A96EFE4C426E

View file

@ -49,6 +49,14 @@ stdenv.mkDerivation rec {
sed -i"" \
-e '/TSUNIT_TEST(testHomeDirectory);/ d' \
src/utest/utestSysUtils.cpp
sed -i"" \
-e '/TSUNIT_TEST(testIPv4Address);/ d' \
-e '/TSUNIT_TEST(testIPv4AddressConstructors);/ d' \
-e '/TSUNIT_TEST(testIPv4SocketAddressConstructors);/ d' \
-e '/TSUNIT_TEST(testTCPSocket);/ d' \
-e '/TSUNIT_TEST(testUDPSocket);/ d' \
src/utest/utestNetworking.cpp
'';
enableParallelBuilding = true;