Problem
Locally, script/ci-local.sh reports 133 JIT compliance tests skipped and 133 VM compliance tests passing (266 total). The JIT suite never exercises LLVM paths in the default CI path, so JIT regressions slip through.
JITTest::setUp() calls PHPLLVM\Chooser::choose() and skips on failure; in the compliance run, all JIT tests skip while VM tests run.
Goal
GHA / ci-local.sh must run both VM and JIT compliance with a clear pass/fail signal for JIT.
Tasks
Acceptance criteria
bash script/ci-local.sh --testsuite "PHPCompiler Compliance Test Suites" reports JIT tests executed (not all skipped) when .llvm/libLLVM-9.so.1 is present.
Key files
test/compliance/JITTest.php
test/bootstrap.php
script/ci-local.sh
phpunit.xml.dist
Related
Problem
Locally,
script/ci-local.shreports 133 JIT compliance tests skipped and 133 VM compliance tests passing (266 total). The JIT suite never exercises LLVM paths in the default CI path, so JIT regressions slip through.JITTest::setUp()callsPHPLLVM\Chooser::choose()and skips on failure; in the compliance run, all JIT tests skip while VM tests run.Goal
GHA /
ci-local.shmust run both VM and JIT compliance with a clear pass/fail signal for JIT.Tasks
LD_LIBRARY_PATH, extension load order)phpunit.xml.dist<env name="LD_LIBRARY_PATH" value="./.llvm"/>works when.llvmexistsExampleWebAotTestenv setup inJITTestor shared bootstrapAcceptance criteria
bash script/ci-local.sh --testsuite "PHPCompiler Compliance Test Suites"reports JIT tests executed (not all skipped) when.llvm/libLLVM-9.so.1is present.Key files
test/compliance/JITTest.phptest/bootstrap.phpscript/ci-local.shphpunit.xml.distRelated