diff --git a/test/0-init-multi.sh b/test/0-init-multi.sh index 6f2096f..89d50b7 100755 --- a/test/0-init-multi.sh +++ b/test/0-init-multi.sh @@ -4,13 +4,15 @@ deps="openssl logger" type="vibe.d" -$DUB init $packname $deps --type=$type +$DUB init $packname $deps --type=$type --format sdl function cleanup { rm -rf $packname } if [ ! -e $packname/dub.sdl ]; then # it failed, exit 1 + echo "No dub.sdl file has been generated." + cleanup exit 1 else # check if resulting dub.sdl has all dependancies in tow deps="$deps vibe-d"; diff --git a/test/0-init-simple.sh b/test/0-init-simple.sh index baeaea0..900bddc 100755 --- a/test/0-init-simple.sh +++ b/test/0-init-simple.sh @@ -2,13 +2,14 @@ packname="0-init-simple-pack" -$DUB init $packname +$DUB init $packname --format sdl function cleanup { rm -rf $packname } if [ ! -e $packname/dub.sdl ]; then # it failed + echo "No dub.sdl file has been generated." cleanup exit 1 fi