mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 06:51:23 +01:00
Better logs
This commit is contained in:
parent
fbc43cf26b
commit
fea7d6577e
@ -144,8 +144,7 @@ runTestSimple()
|
|||||||
runTest()
|
runTest()
|
||||||
{
|
{
|
||||||
[ "$1" != "" ] && p="$1" || p=php
|
[ "$1" != "" ] && p="$1" || p=php
|
||||||
$p tests/testing.php <<EOF
|
echo "m
|
||||||
m
|
|
||||||
$API_ID
|
$API_ID
|
||||||
$API_HASH
|
$API_HASH
|
||||||
b
|
b
|
||||||
@ -153,8 +152,10 @@ $BOT_TOKEN
|
|||||||
n
|
n
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
|
" | $p tests/testing.php || {
|
||||||
EOF
|
cat MadelineProto.log
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rm -f madeline.phar testing.madeline*
|
rm -f madeline.phar testing.madeline*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user