smarty-php / smarty

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Other
2.24k stars 705 forks source link

Update a workflow file for GitHub Actions to test on Windows #1046

Closed matsuo closed 1 week ago

matsuo commented 1 month ago

Thank you for your developing!

This PR makes it possible to run tests on Windows with GitHub Actions. Because I saw the comment in #1018 . https://github.com/smarty-php/smarty/issues/1018#issuecomment-2137375455

I have adjusted the CI results to always be green on Windows because there are tests that fail on Windows now. I would like to see “exit 0” and "continue-on-error: true" removed in the future.

I would be happy if this PR could help solve the issue.

matsuo commented 1 month ago

Exactly. It's much better to fix the failing tests. I will remove “exit 0” and "continue-on-error: true" in this PR later.

I would like to see this PR merged after there are no failing tests.

matsuo commented 1 month ago

I have removed “exit 0” and "continue-on-error: true".

Test results on Windows are here.

Run php ./vendor/phpunit/phpunit/phpunit
PHPUnit 8.5.39 by Sebastian Bergmann and contributors.

.............................................................   61 / 2257 (  2%)
...................................FFFF......................  122 / 2257 (  5%)
....................................SSSSSSSSSSSSSSSSSSSSSSSSS  183 / 2257 (  8%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  244 / 2257 ( 10%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS....................SSSSSSS  305 / 2257 ( 13%)
.............................................................  366 / 2257 ( 16%)
...I............EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFEFEFEFEEEEE  427 / 2257 ( 18%)
EEE......................I...................................  488 / 2257 ( 21%)
..........I....................I.............................  549 / 2257 ( 24%)
.............................................................  610 / 2257 ( 27%)
.............................................................  671 / 2257 ( 29%)
.......................................EEEEE.................  732 / 2257 ( 32%)
.............................................................  793 / 2257 ( 35%)
.............................................................  854 / 2257 ( 37%)
.............................................................  915 / 2257 ( 40%)
.............................................................  976 / 2257 ( 43%)
............................................................. 1037 / 2257 ( 45%)
............................................................. 1098 / 2257 ( 48%)
............................................................. 1159 / 2257 ( 51%)
............................................................. 1220 / 2257 ( 54%)
............................................................. 1281 / 2257 ( 56%)
............................................................. 1342 / 2257 ( 59%)
............................................................. 1403 / 2257 ( 62%)
............................................................. 1464 / 2257 ( 64%)
............................................................. 1525 / 2257 ( 67%)
............................................................. 1586 / 2257 ( 70%)
............................................................. 1647 / 2257 ( 72%)
............................................................. 1708 / 2257 ( 75%)
............................................................. 1769 / 2257 ( 78%)
............................................................. 1830 / 2257 ( 81%)
............................................................. 1891 / 2257 ( 83%)
............................................................. 1952 / 2257 ( 86%)
............................................................. 2013 / 2257 ( 89%)
.................EEEE........................................ 2074 / 2257 ( 91%)
............................................................. 2135 / 2257 ( 94%)
............................................................. 2196 / 2257 ( 97%)
.................................................E........... 2257 / 2257 (100%)

Time: 1.12 minutes, Memory: 54.00 MB

There were 54 errors:

1) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #0 (false, false, 1, 1, 1, 'no caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

2) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #1 (false, false, 2, 1, 2, 'no caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

3) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #2 (true, false, 3, 3, 3, 'caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

4) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #3 (true, false, 4, 3, 3, 'caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

5) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #4 (false, true, 5, 5, 5, 'no caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

6) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #5 (false, true, 6, 5, 6, 'no caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

7) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #6 (true, true, 7, 7, 7, 'caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

8) ExtendsResourceTest::testCompileBlockChildPrepend_003 with data set #7 (true, true, 8, 7, 7, 'caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^6f9db52060208445ded0f2fd7240091fb755adf0_0.extends_003_parent.tpl|003_child_prepend.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:46

9) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #0 (false, false, 1, 1, 1, 'no caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

10) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #1 (false, false, 2, 1, 2, 'no caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

11) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #2 (true, false, 3, 3, 3, 'caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

12) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #3 (true, false, 4, 3, 3, 'caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

13) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #4 (false, true, 5, 5, 5, 'no caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

14) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #5 (false, true, 6, 5, 6, 'no caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

15) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #6 (true, true, 7, 7, 7, 'caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

16) ExtendsResourceTest::testCompileBlockChildAppend_004 with data set #7 (true, true, 8, 7, 7, 'caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^2906c86a50323d59682e766aaf39ed912b67cf43_0.extends_004_parent.tpl|004_child_append.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:69

17) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #0 (false, false, 1, 1, 1, 'no caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

18) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #1 (false, false, 2, 1, 2, 'no caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

19) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #2 (true, false, 3, 3, 3, 'caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

20) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #3 (true, false, 4, 3, 3, 'caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

21) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #4 (false, true, 5, 5, 5, 'no caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

22) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #5 (false, true, 6, 5, 6, 'no caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

23) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #6 (true, true, 7, 7, 7, 'caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

24) ExtendsResourceTest::testCompileBlockAssignInChild_040 with data set #7 (true, true, 8, 7, 7, 'caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^ac0ffb95293ed5e09dea551e78c2ec7446f776f3_0.extends_040_parent.tpl|040_child.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:87

25) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #0 (false, false, 1, 1, 1, 'no caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

26) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #1 (false, false, 2, 1, 2, 'no caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

27) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #2 (true, false, 3, 3, 3, 'caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

28) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #3 (true, false, 4, 3, 3, 'caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

29) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #4 (false, true, 5, 5, 5, 'no caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

30) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #5 (false, true, 6, 5, 6, 'no caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

31) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #6 (true, true, 7, 7, 7, 'caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

32) ExtendsResourceTest::testCompileBlockIncreaseInChild_050 with data set #7 (true, true, 8, 7, 7, 'caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^1413eb42e159f15a88c122dbe9bc2046b3867338_0.extends_050_parent.tpl|050_child.tpl|050_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:104

33) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_1
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\911754994654a532eaab5eb9a161001612cb3206_0.extends_021_parent.tpl|021_child.tpl|021_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:118

34) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_2
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\911754994654a532eaab5eb9a161001612cb3206_0.extends_021_parent.tpl|021_child.tpl|021_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:148

35) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_3
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\911754994654a532eaab5eb9a161001612cb3206_0.extends_021_parent.tpl|021_child.tpl|021_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:177

36) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_4
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\911754994654a532eaab5eb9a161001612cb3206_0.extends_021_parent.tpl|021_child.tpl|021_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:206

37) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #0 (false, false, 1, 1, 1, 'no caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

38) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #1 (false, false, 2, 1, 2, 'no caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

39) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #2 (true, false, 3, 3, 3, 'caching, no merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

40) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #3 (true, false, 4, 3, 3, 'caching, no merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

41) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #4 (false, true, 5, 5, 5, 'no caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

42) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #5 (false, true, 6, 5, 6, 'no caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

43) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #6 (true, true, 7, 7, 7, 'caching, merge - new')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

44) ExtendsResourceTest::testCompileBlockRelativeIncludes_033 with data set #7 (true, true, 8, 7, 7, 'caching, merge - exits')
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\templates_c\1^551d43e7b6de837dbc73c6021c00d49ce90c325e_0.extends_033_child.tpl|033_grandchild.tpl.cache.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template\Cached.php:277
D:\a\smarty\smarty\src\Template\Cached.php:112
D:\a\smarty\smarty\src\Template.php:178
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:236

45) NullCoalescingTest::testUndefined
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

46) NullCoalescingTest::testOther with data set #0 (null, 'undefined')
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

47) NullCoalescingTest::testOther with data set #1 ('blah', 'blah')
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

48) NullCoalescingTest::testOther with data set #2 ('', '')
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

49) NullCoalescingTest::testOther with data set #3 (false, false)
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

50) TernaryTest::testTernaryTrue
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

51) TernaryTest::testTernaryFalse
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

52) TernaryTest::testShorthandTernaryTrue
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

53) TernaryTest::testShorthandTernaryFalse
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

54) ExtendsIssue419Test::testextends419
Smarty\Exception: unable to write file D:\a\smarty\smarty\tests\UnitTests\TemplateSource\_Issues\419\templates_c\bbb830dcf86ea545b2c3141c20d375d97825cbeb_0.extends_001_parent.tpl|001_child.tpl.php

D:\a\smarty\smarty\src\Smarty.php:1739
D:\a\smarty\smarty\src\Template\Compiled.php:227
D:\a\smarty\smarty\src\Template\Compiled.php:190
D:\a\smarty\smarty\src\Template\Compiled.php:143
D:\a\smarty\smarty\src\Template\Compiled.php:101
D:\a\smarty\smarty\src\Template.php:180
D:\a\smarty\smarty\src\Template.php:655
D:\a\smarty\smarty\src\Template.php:589
D:\a\smarty\smarty\src\Smarty.php:2121
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\_Issues\419\ExtendsIssue419Test.php:32

--

There were 8 failures:

1) CacheResourceFileTest::testGetCachedFilepathSubDirs
Failed asserting that 'D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\cache\ca\25\46\ca2546820bc1a72783da84062884d71d8e3c1ff4_helloworld.tpl.php' matches PCRE pattern "/.*\/([a-f0-9]{2}\/){3}.*.php/".

D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\CacheResourceFileTest.php:41

2) CacheResourceFileTest::testGetCachedFilepathCacheId
Failed asserting that 'D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\cache\foo\bar\ca\25\46\ca2546820bc1a72783da84062884d71d8e3c1ff4_helloworld.tpl.php' matches PCRE pattern "/.*\/foo\/bar\/([a-f0-9]{2}\/){3}.*.php/".

D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\CacheResourceFileTest.php:54

3) CacheResourceFileTest::testGetCachedFilepathCompileId
Failed asserting that 'D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\cache\blar\ca\25\46\ca2546820bc1a72783da84062884d71d8e3c1ff4_helloworld.tpl.php' matches PCRE pattern "/.*\/blar\/([a-f0-9]{2}\/){3}.*.php/".

D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\CacheResourceFileTest.php:66

4) CacheResourceFileTest::testGetCachedFilepathCacheIdCompileId
Failed asserting that 'D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\cache\foo\bar\blar\ca\25\46\ca2546820bc1a72783da84062884d71d8e3c1ff4_helloworld.tpl.php' matches PCRE pattern "/.*\/foo\/bar\/blar\/([a-f0-9]{2}\/){3}.*.php/".

D:\a\smarty\smarty\tests\UnitTests\CacheResourceTests\File\CacheResourceFileTest.php:78

5) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_12
Failed asserting that false is true.

D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:130

6) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_22
Failed asserting that false is true.

D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:159

7) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_32
Failed asserting that false is true.

D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:188

8) ExtendsResourceTest::testCompileBlockGrandChildMustCompile_021_42
Failed asserting that false is true.

D:\a\smarty\smarty\tests\UnitTests\ResourceTests\Extends\ExtendsResourceTest.php:217

ERRORS!
Tests: 2257, Assertions: 2945, Errors: 54, Failures: 8, Skipped: 127, Incomplete: 4.
Error: Process completed with exit code 1.
matsuo commented 2 weeks ago

@wisskid If all the following pull requests are merged, then all the unit tests will now pass on Windows. If you have time, would you please check them out?

Thank you.

rodriguezny commented 2 weeks ago

@wisskid If all the following pull requests are merged, then all the unit tests will now pass on Windows. If you have time, would you please check them out?

Thank you.

@wisskid I tested https://github.com/smarty-php/smarty/pull/1056/files on windows, it works fine and solved the issue https://github.com/smarty-php/smarty/issues/1018. Waiting for the merge.

Thanks

wisskid commented 1 week ago

@matsuo I merged the 3 underlying PRs, but the windows checks are still failing. I think you need to update/rebase your branch against the HEAD for smarty-php:master maybe?

matsuo commented 1 week ago

@wisskid Thank you for your merging! I believe I have rebased and adjusted this PR, would you please review this PR again?

Thank you so much.

wisskid commented 1 week ago

@matsuo awesome! Thank you for your work.

matsuo commented 1 week ago

@wisskid Thank you too!

rodriguezny commented 1 week ago

@wisskid thank you for the merging! When can we expect the new release with this fix ? To avoid to install the dev-master ?

wisskid commented 1 week ago

@rodriguezny I released 5.4.1 just now. Let me know if it solves your problems.

rodriguezny commented 1 week ago

@rodriguezny I released 5.4.1 just now. Let me know if it solves your problems.

I update Smarty to v5.4.1, it solves my problem. Thanks!