mirror of
https://github.com/danog/jit_bugs.git
synced 2024-11-26 12:04:52 +01:00
Add php-parser reproducer
This commit is contained in:
parent
66f9d65701
commit
1df23bfda2
23
bugs/6_phpparser.sh
Executable file
23
bugs/6_phpparser.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
standalone=$PWD/bugs/wrap.php
|
||||
|
||||
cd /tmp
|
||||
|
||||
rm -rf php-parser
|
||||
|
||||
git clone https://github.com/nikic/php-parser
|
||||
cd php-parser
|
||||
git checkout 8d50e9d066fd857dc4d6354047bda9111f179b46
|
||||
|
||||
cp $standalone .
|
||||
|
||||
export PSALM_ALLOW_XDEBUG=1
|
||||
|
||||
composer i --ignore-platform-reqs
|
||||
|
||||
echo "About to run phpunit"
|
||||
|
||||
docker run -v $PWD:/app --rm --privileged -it asan_tests /usr/bin/php --repeat 2 -f /app/wrap.php /app/vendor/bin/phpunit
|
||||
|
||||
echo "OK, no bugs!"
|
Loading…
Reference in New Issue
Block a user