Allow script based tests and fix test package recipes.
This commit is contained in:
parent
68430a1ea4
commit
99bc332a81
|
@ -1,4 +1,4 @@
|
|||
/++ dub.sdl:
|
||||
/+ dub.sdl:
|
||||
name "test"
|
||||
description "Tests vibe.d's std.concurrency integration"
|
||||
dependency "vibe-core" path="../"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/++ dub.sdl:
|
||||
/+ dub.sdl:
|
||||
name "test"
|
||||
dependency "vibe-core" path=".."
|
||||
+/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/++ dub.sdl:
|
||||
/+ dub.sdl:
|
||||
name "test"
|
||||
description "TCP disconnect task issue"
|
||||
dependency "vibe-core" path="../"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/++ dub.sdl:
|
||||
/+ dub.sdl:
|
||||
name "test"
|
||||
description "TCP disconnect task issue"
|
||||
dependency "vibe-core" path="../"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
/++ dub.sdl:
|
||||
/+ dub.sdl:
|
||||
name "test"
|
||||
description "Invalid memory operation on TCP connection leakage at shutdown"
|
||||
dependency "vibe-core" path="../"
|
||||
debugVersions "VibeAsyncLog"
|
||||
+/
|
||||
module test;
|
||||
|
||||
|
|
|
@ -21,7 +21,13 @@ if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
|
|||
fi
|
||||
if [ ${RUN_TEST=1} -eq 1 ]; then
|
||||
for ex in `\ls -1 tests/*.d`; do
|
||||
script="${ex:0:-2}.sh"
|
||||
if [ -e "$script" ]; then
|
||||
echo "[INFO] Running test scipt $script"
|
||||
(cd tests && "./${script:6}")
|
||||
else
|
||||
echo "[INFO] Running test $ex"
|
||||
dub --temp-build --compiler=$DC --single $ex # --override-config vibe-core/$CONFIG
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue