1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: Disable tests that won't work in the Debian build.
Forwarded: not-needed
Author: Filip Strömbäck <filip@fprg.se>
--- a/Test/Core/NetTest.cpp
+++ b/Test/Core/NetTest.cpp
@@ -54,8 +54,8 @@
CHECK_EQ(toS(toAddress(new (e) Str(S("[1::fed:1]:31337")))), L"[1::fed:1]:31337");
- // Name resolution.
- CHECK_GTE(lookupAddress(new (e) Str(S("storm-lang.org")))->count(), Nat(1));
+ // Name resolution (network access is not allowed for Debian builds).
+ // CHECK_GTE(lookupAddress(new (e) Str(S("storm-lang.org")))->count(), Nat(1));
} END_TEST
--- a/Test/Storm/Shared.cpp
+++ b/Test/Storm/Shared.cpp
@@ -1,7 +1,8 @@
#include "stdafx.h"
#include "Fn.h"
-BEGIN_TEST(Shared, Storm) {
+// We don't build the Shared .so-file on Debian - the test don't add anything at this point.
+BEGIN_TESTX(Shared, Storm) {
Engine &e = gEngine();
// Try to load an external library.
|