Improve tests
This commit is contained in:
parent
e46e707702
commit
a3150540d7
@ -418,7 +418,7 @@ trait Files
|
|||||||
*/
|
*/
|
||||||
private $offset = 0;
|
private $offset = 0;
|
||||||
/**
|
/**
|
||||||
* Callback
|
* Callback.
|
||||||
*
|
*
|
||||||
* @var ?callable
|
* @var ?callable
|
||||||
*/
|
*/
|
||||||
|
@ -114,6 +114,7 @@ export MTPROTO_SETTINGS='{"logger":{"logger_level":5}}'
|
|||||||
php tools/makephar.php $HOME/phar5 "madeline$php$branch.phar" $TRAVIS_COMMIT
|
php tools/makephar.php $HOME/phar5 "madeline$php$branch.phar" $TRAVIS_COMMIT
|
||||||
|
|
||||||
cp tests/testing.php tests/testingBackup.php
|
cp tests/testing.php tests/testingBackup.php
|
||||||
|
set +e
|
||||||
tests/testing.php <<EOF
|
tests/testing.php <<EOF
|
||||||
m
|
m
|
||||||
$API_ID
|
$API_ID
|
||||||
@ -126,7 +127,7 @@ n
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
export TRAVIS_PHAR="madeline$php$branch.phar"
|
export TRAVIS_PHAR="madeline$php$branch.phar"
|
||||||
cat tests/testing.php
|
set -e
|
||||||
tests/testing.php
|
tests/testing.php
|
||||||
|
|
||||||
cp tests/testingBackup.php tests/testing.php
|
cp tests/testingBackup.php tests/testing.php
|
||||||
|
Loading…
Reference in New Issue
Block a user