Make the test packages compilable.

This commit is contained in:
Sönke Ludwig 2016-06-18 08:19:06 +02:00
parent 675ae91e02
commit a9905ddcd9
5 changed files with 9 additions and 7 deletions

View file

@ -1,4 +1,3 @@
name "tests" name "tests"
description "TCP disconnect task issue" description "TCP disconnect task issue"
dependency "vibe-d:core" path="../../" dependency "vibe-core" path="../../"
versions "VibeDefaultMain"

View file

@ -4,7 +4,7 @@ import vibe.core.net;
import core.time : msecs; import core.time : msecs;
import std.datetime : Clock, UTC; import std.datetime : Clock, UTC;
shared static this() void main()
{ {
auto udp = listenUDP(11429, "127.0.0.1"); auto udp = listenUDP(11429, "127.0.0.1");
@ -26,4 +26,6 @@ shared static this()
exitEventLoop(); exitEventLoop();
} }
}); });
runEventLoop();
} }

View file

@ -1,4 +1,3 @@
name "tests" name "tests"
description "TCP disconnect task issue" description "TCP disconnect task issue"
dependency "vibe-d:core" path="../../" dependency "vibe-core" path="../../"
versions "VibeDefaultMain"

View file

@ -2,7 +2,7 @@ import vibe.core.core;
import vibe.core.net; import vibe.core.net;
import core.time : msecs; import core.time : msecs;
shared static this() void main()
{ {
import vibe.core.log; import vibe.core.log;
bool done = false; bool done = false;
@ -21,4 +21,6 @@ shared static this()
exitEventLoop(); exitEventLoop();
}); });
runEventLoop();
} }

View file

@ -1,3 +1,3 @@
name "tests" name "tests"
description "Invalid memory operation on TCP connection leakage at shutdown" description "Invalid memory operation on TCP connection leakage at shutdown"
dependency "vibe-d:core" path="../../" dependency "vibe-core" path="../../"