tolerant-php-parser/php-langspec/tests
Sara Itani a6d4e312e5 Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
..
arrays Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
basic_concepts Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
classes Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
constants Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
exception_handling Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
expressions Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
functions Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
interfaces Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
lexical_structure Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
namespaces Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
scope Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
serialization Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
statements Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
traits Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
types Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
variables Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
.gitignore Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
README.md Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00
config.ini Merge commit 'a7d64bac1248a8ad2fba9bfd0e96efd6574f5d92' as 'php-langspec' 2016-10-26 19:42:47 -07:00

README.md

The PHP Specification Test Suite

If you pass this suite, you aren't necessarily spec compliant, but it is a helpful bellwether.

Usage

To run using the PHP5 test runner, you'll need to convert to PHP5's .phpt format first. The following demonstrates writing the tests out to /tmp/phpt:

./make_phpt . /tmp/phpt
TEST_PHP_EXECUTABLE=~/php-src/sapi/cli/php ~/php-src/run-tests.php /tmp/phpt

To use the HHVM test runner:

~/hhvm/hphp/test/run .