2023-10-23 23:42:45 +02:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
2023-10-30 22:46:09 +01:00
|
|
|
composer update
|
|
|
|
|
2023-10-23 23:42:45 +02:00
|
|
|
standalone=$PWD/bugs/wrap_madeline.php
|
|
|
|
|
2023-10-24 17:50:54 +02:00
|
|
|
refactor=$PWD/refactor.php
|
|
|
|
|
2023-10-23 23:42:45 +02:00
|
|
|
cd /tmp
|
|
|
|
|
|
|
|
rm -rf jit_test
|
|
|
|
|
|
|
|
wget https://paste.daniil.it/jit_1.tar.xz -c
|
2023-10-23 23:48:34 +02:00
|
|
|
tar -xf jit_1.tar.xz
|
2023-10-23 23:42:45 +02:00
|
|
|
|
|
|
|
cd jit_test
|
|
|
|
|
|
|
|
cp $standalone wrap.php
|
|
|
|
|
2023-10-24 17:50:54 +02:00
|
|
|
php $refactor
|
|
|
|
|
2023-10-30 22:46:09 +01:00
|
|
|
docker run -v $PWD:/app --rm --privileged -it asan_tests /usr/bin/php --repeat 2 -d opcache.blacklist_filename=b.txt -f /app/wrap.php test.php
|