eclass/php-ext-source-r3: define the variable slot local to src_test

This commit is contained in:
Göktürk Yüksek
2016-10-29 16:11:16 -04:00
parent e4f3b3b12d
commit 674a928d14

View File

@@ -236,6 +236,7 @@ php-ext-source-r3_src_install() {
# a run-tests.php file to be executed by `make test`. We only need to
# force the test suite to run in non-interactive mode.
php-ext-source-r3_src_test() {
local slot
for slot in $(php_get_slots); do
php_init_slot_env "${slot}"
NO_INTERACTION="yes" emake test