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"
|
name "test"
|
||||||
description "Tests vibe.d's std.concurrency integration"
|
description "Tests vibe.d's std.concurrency integration"
|
||||||
dependency "vibe-core" path="../"
|
dependency "vibe-core" path="../"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/++ dub.sdl:
|
/+ dub.sdl:
|
||||||
name "test"
|
name "test"
|
||||||
dependency "vibe-core" path=".."
|
dependency "vibe-core" path=".."
|
||||||
+/
|
+/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/++ 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="../"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/++ 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="../"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
/++ 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="../"
|
||||||
|
debugVersions "VibeAsyncLog"
|
||||||
+/
|
+/
|
||||||
module test;
|
module test;
|
||||||
|
|
||||||
|
|
10
travis-ci.sh
10
travis-ci.sh
|
@ -21,7 +21,13 @@ if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
|
||||||
fi
|
fi
|
||||||
if [ ${RUN_TEST=1} -eq 1 ]; then
|
if [ ${RUN_TEST=1} -eq 1 ]; then
|
||||||
for ex in `\ls -1 tests/*.d`; do
|
for ex in `\ls -1 tests/*.d`; do
|
||||||
echo "[INFO] Running test $ex"
|
script="${ex:0:-2}.sh"
|
||||||
dub --temp-build --compiler=$DC --single $ex # --override-config vibe-core/$CONFIG
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue