Skip to content

Commit

Permalink
Test that PHP extensions are correctly bundled.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphoting committed Oct 11, 2012
1 parent 552027b commit 0827a3a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/compile_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ testCompile()
assertCaptured "PHP v${PHP_VERSION}"
assertTrue "php-fpm should be executable" "[ -x ${BUILD_DIR}/vendor/php/sbin/php-fpm ]"

assertTrue "apc.so extension should exist" "[ -e ${BUILD_DIR}/vendor/php/lib/php/extensions/no-debug-non-zts-20100525/apc.so ]"
assertTrue "memcache.so extension should exist" "[ -e ${BUILD_DIR}/vendor/php/lib/php/extensions/no-debug-non-zts-20100525/memcache.so ]"
assertTrue "memcached.so extension should exist" "[ -e ${BUILD_DIR}/vendor/php/lib/php/extensions/no-debug-non-zts-20100525/memcached.so ]"
assertTrue "redis.so extension should exist" "[ -e ${BUILD_DIR}/vendor/php/lib/php/extensions/no-debug-non-zts-20100525/redis.so ]"
assertTrue "soap.so extension should exist" "[ -e ${BUILD_DIR}/vendor/php/lib/php/extensions/no-debug-non-zts-20100525/soap.so ]"
assertTrue "newrelic.so extension should exist" "[ -e ${BUILD_DIR}/vendor/php/lib/php/extensions/no-debug-non-zts-20100525/newrelic.so ]"

assertCaptured "-----> Installing newrelic"
assertCaptured "newrelic daemon v${NEWRELIC_VERSION}"
assertTrue "newrelic-daemon should be executable" "[ -x ${BUILD_DIR}/local/bin/newrelic-daemon ]"
Expand Down

0 comments on commit 0827a3a

Please sign in to comment.