|
Revision 1044, 0.9 KB
(checked in by weyrick, 7 months ago)
|
|
hack in framework for testing transform passes with rphp-analyzer
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # Roadsend PHP: Raven Combined Test Suite |
|---|
| 3 | # |
|---|
| 4 | # |
|---|
| 5 | |
|---|
| 6 | all: rphp |
|---|
| 7 | |
|---|
| 8 | # failures: clean-output |
|---|
| 9 | # ./dotest -d ./known-failures/ ./re-output |
|---|
| 10 | # |
|---|
| 11 | # re-tests-i: clean-output |
|---|
| 12 | # pcc -f ./dotest.php -- -d ./re-tests/ ./re-output |
|---|
| 13 | # |
|---|
| 14 | # re-tests: dotest clean-output |
|---|
| 15 | # # this sucks but we need it for compiled tests |
|---|
| 16 | # cp `find ./re-tests/ -name "*.inc"` ./re-output |
|---|
| 17 | # ./dotest -d ./re-tests/ ./re-output |
|---|
| 18 | # |
|---|
| 19 | # zend-tests: dotest clean-output |
|---|
| 20 | # # this sucks but we need it for compiled tests |
|---|
| 21 | # cp `find ./zend-tests/ -name "*.inc"` ./zend-output |
|---|
| 22 | # ./dotest -d ./zend-tests/ ./zend-output |
|---|
| 23 | # |
|---|
| 24 | # dotest: dotest.php |
|---|
| 25 | # pcc dotest.php |
|---|
| 26 | |
|---|
| 27 | clean: clean-output |
|---|
| 28 | |
|---|
| 29 | clean-output: |
|---|
| 30 | -rm re-output/* zend-output/* |
|---|
| 31 | |
|---|
| 32 | #clean-all: clean-output |
|---|
| 33 | # -rm dotest dotest.o *~ |
|---|
| 34 | |
|---|
| 35 | # raven |
|---|
| 36 | rphp: |
|---|
| 37 | php -f ./dotest.php -- -d ./re-tests/ ./re-output |
|---|
| 38 | |
|---|
| 39 | # raven transforms |
|---|
| 40 | transforms: |
|---|
| 41 | php -f ./dotest.php -- -d ./re-tests/transforms/ ./re-output |
|---|
| 42 | |
|---|
| 43 | # zend |
|---|
| 44 | zend: |
|---|
| 45 | php -f ./dotest.php -- -d ./zend-tests/ ./zend-output |
|---|