Fix test dependency paths.
This commit is contained in:
parent
cd3e756dd6
commit
3a9b977dc4
|
@ -1,16 +1,10 @@
|
||||||
/++ dub.json:
|
/++ dub.sdl:
|
||||||
{
|
name "test"
|
||||||
"name": "test",
|
description "Tests vibe.d's std.concurrency integration"
|
||||||
"description": "Tests vibe.d's std.concurrency integration",
|
dependency "vibe-core" path="../"
|
||||||
"dependencies": {
|
|
||||||
"vibe-core": {"path": "../../"}
|
|
||||||
},
|
|
||||||
"versions": ["VibeDefaultMain"]
|
|
||||||
}
|
|
||||||
+/
|
+/
|
||||||
module test;
|
module test;
|
||||||
|
|
||||||
import vibe.appmain;
|
|
||||||
import vibe.core.core;
|
import vibe.core.core;
|
||||||
import vibe.core.log;
|
import vibe.core.log;
|
||||||
import std.concurrency;
|
import std.concurrency;
|
||||||
|
@ -21,7 +15,7 @@ import core.stdc.stdlib : exit;
|
||||||
__gshared Tid t1, t2;
|
__gshared Tid t1, t2;
|
||||||
shared watchdog_count = 0;
|
shared watchdog_count = 0;
|
||||||
|
|
||||||
shared static this()
|
void main()
|
||||||
{
|
{
|
||||||
t1 = spawn({
|
t1 = spawn({
|
||||||
// ensure that asynchronous operations run in parallel to receive()
|
// ensure that asynchronous operations run in parallel to receive()
|
||||||
|
@ -90,4 +84,6 @@ shared static this()
|
||||||
logInfo("Exiting.");
|
logInfo("Exiting.");
|
||||||
exitEventLoop(true);
|
exitEventLoop(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
runApplication();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/++ dub.sdl:
|
/++ dub.sdl:
|
||||||
name "test"
|
name "test"
|
||||||
description "TCP disconnect task issue"
|
description "TCP disconnect task issue"
|
||||||
dependency "vibe-core" path="../../"
|
dependency "vibe-core" path="../"
|
||||||
+/
|
+/
|
||||||
module test;
|
module test;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/++ dub.sdl:
|
/++ dub.sdl:
|
||||||
name "test"
|
name "test"
|
||||||
description "TCP disconnect task issue"
|
description "TCP disconnect task issue"
|
||||||
dependency "vibe-core" path="../../"
|
dependency "vibe-core" path="../"
|
||||||
+/
|
+/
|
||||||
module test;
|
module test;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/++ dub.sdl:
|
/++ dub.sdl:
|
||||||
name "test"
|
name "test"
|
||||||
description "Invalid memory operation on TCP connection leakage at shutdown"
|
description "Invalid memory operation on TCP connection leakage at shutdown"
|
||||||
dependency "vibe-core" path="../../"
|
dependency "vibe-core" path="../"
|
||||||
+/
|
+/
|
||||||
module test;
|
module test;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue