mirror of
https://github.com/danog/jit_bugs.git
synced 2024-11-26 20:15:13 +01:00
Add reproducer
This commit is contained in:
parent
f51ada0b1f
commit
3b66d7f8dd
11
README.md
11
README.md
@ -9,11 +9,14 @@ Edit the branch in `Dockerfile:33`
|
|||||||
Tested on fa218eab4a9b5304afb871a4405546068cb65008
|
Tested on fa218eab4a9b5304afb871a4405546068cb65008
|
||||||
|
|
||||||
1. Composer: Fixed
|
1. Composer: Fixed
|
||||||
2. Psalm: always fails
|
2. Psalm: Fixed
|
||||||
3. MadelineProto: Fixed
|
3. MadelineProto: Fixed
|
||||||
4. Infection (patched): Fixed
|
4. Infection (patched): Fixed
|
||||||
5. Psalm (unit): ?
|
5. Psalm (unit): ?
|
||||||
6. php-parser (unit): Fixed
|
6. php-parser (unit): Fixed
|
||||||
7. Psalm (master, unit): always fails
|
7. Psalm (master, unit): Fixed
|
||||||
8. Psalm (patched master, unit): always fails
|
8. Psalm (patched master, unit): Fixed
|
||||||
9. Composer: always fails
|
9. Composer: Fixed
|
||||||
|
10. Amphp: Always fails
|
||||||
|
11. Reactphp: Always fails
|
||||||
|
12. Amphp: Always fails
|
||||||
|
23
bugs/11_react.sh
Executable file
23
bugs/11_react.sh
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
composer update
|
||||||
|
|
||||||
|
standalone=$PWD/bugs/wrap.php
|
||||||
|
refactor=$PWD/refactor.php
|
||||||
|
|
||||||
|
cd /tmp
|
||||||
|
|
||||||
|
rm -rf promise
|
||||||
|
|
||||||
|
git clone https://github.com/reactphp/promise
|
||||||
|
cd promise
|
||||||
|
|
||||||
|
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=1; /usr/bin/php -d opcache.jit=0 --repeat 2 -f /app/wrap.php /app/vendor/bin/phpunit'
|
||||||
|
|
||||||
|
echo "OK, no bugs!"
|
23
bugs/12_amp.sh
Executable file
23
bugs/12_amp.sh
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
composer update
|
||||||
|
|
||||||
|
standalone=$PWD/bugs/wrap.php
|
||||||
|
refactor=$PWD/refactor.php
|
||||||
|
|
||||||
|
cd /tmp
|
||||||
|
|
||||||
|
rm -rf file
|
||||||
|
|
||||||
|
git clone https://github.com/amphp/file
|
||||||
|
cd file
|
||||||
|
|
||||||
|
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=1; /usr/bin/php -d opcache.jit=0 --repeat 2 -f /app/wrap.php /app/vendor/bin/phpunit'
|
||||||
|
|
||||||
|
echo "OK, no bugs!"
|
Loading…
Reference in New Issue
Block a user