diff --git a/scripts/tests/_bootstrap.php b/scripts/tests/_bootstrap.php new file mode 100644 index 0000000..e2414d2 --- /dev/null +++ b/scripts/tests/_bootstrap.php @@ -0,0 +1,18 @@ + enabled')"; then echo 'Blackfire PHP Probe is disabled' >&2 diff --git a/scripts/tests/dba b/scripts/tests/dba index 03809ec..0091291 100755 --- a/scripts/tests/dba +++ b/scripts/tests/dba @@ -1,20 +1,7 @@ #!/usr/bin/env php /dev/null 2>/dev/null; then diff --git a/scripts/tests/gd b/scripts/tests/gd index 16d2d54..c494500 100755 --- a/scripts/tests/gd +++ b/scripts/tests/gd @@ -1,20 +1,7 @@ #!/usr/bin/env php 'PHP module', true => 'Zend extension'] as $type => $typeName) { diff --git a/scripts/tests/sqlsrv b/scripts/tests/sqlsrv index 6609305..77ed9b9 100755 --- a/scripts/tests/sqlsrv +++ b/scripts/tests/sqlsrv @@ -1,22 +1,7 @@ #!/usr/bin/env php enabled')"; then diff --git a/scripts/tests/yac b/scripts/tests/yac index 7f6034c..b7821a6 100755 --- a/scripts/tests/yac +++ b/scripts/tests/yac @@ -1,7 +1,6 @@ #!/bin/sh -set -o errexit -set -o nounset +. "$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)/_bootstrap.sh" rc=0 if php --ri igbinary >/dev/null 2>/dev/null; then