mirror of
https://github.com/danog/jit_bugs.git
synced 2024-11-26 12:04:52 +01:00
24 lines
437 B
Bash
24 lines
437 B
Bash
|
#!/bin/bash -e
|
||
|
|
||
|
composer update
|
||
|
|
||
|
standalone=$PWD/bugs/wrap.php
|
||
|
refactor=$PWD/refactor.php
|
||
|
|
||
|
cd /tmp
|
||
|
|
||
|
rm -rf pipeline
|
||
|
|
||
|
git clone https://github.com/amphp/pipeline
|
||
|
cd pipeline
|
||
|
|
||
|
cp $standalone .
|
||
|
|
||
|
composer i --ignore-platform-reqs
|
||
|
|
||
|
sleep 3
|
||
|
|
||
|
docker run -v $PWD:/app --rm --privileged -it asan_tests bash -c 'export USE_ZEND_ALLOC=0; /usr/bin/php -d opcache.jit=tracing --repeat 2 -f /app/wrap.php /app/vendor/bin/phpunit'
|
||
|
|
||
|
echo "OK, no bugs!"
|