Make the test packages compilable.
This commit is contained in:
parent
675ae91e02
commit
a9905ddcd9
|
@ -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"
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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="../../"
|
||||||
|
|
Loading…
Reference in a new issue