This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

cleanup extension testing

  • Loading branch information...
ablyler committed Sep 21, 2015
1 parent 0da3401 commit 3698e0f1114d618ed3b9ce41300e9ff249f6a4d8
Showing with 1 addition and 517 deletions.
  1. +1 βˆ’1 Abstract/abstract-php-extension.rb
  2. +0 βˆ’4 Formula/php53-blitz.rb
  3. +0 βˆ’4 Formula/php53-couchbase.rb
  4. +0 βˆ’4 Formula/php53-gmp.rb
  5. +0 βˆ’4 Formula/php53-hprose.rb
  6. +0 βˆ’4 Formula/php53-http.rb
  7. +0 βˆ’4 Formula/php53-igbinary.rb
  8. +0 βˆ’4 Formula/php53-intl.rb
  9. +0 βˆ’4 Formula/php53-kafka.rb
  10. +0 βˆ’4 Formula/php53-libsodium.rb
  11. +0 βˆ’4 Formula/php53-lzf.rb
  12. +0 βˆ’4 Formula/php53-memcached.rb
  13. +0 βˆ’4 Formula/php53-mongo.rb
  14. +0 βˆ’4 Formula/php53-opcache.rb
  15. +0 βˆ’7 Formula/php53-parsekit.rb
  16. +0 βˆ’4 Formula/php53-phalcon.rb
  17. +0 βˆ’4 Formula/php53-pimple.rb
  18. +0 βˆ’4 Formula/php53-pinba.rb
  19. +0 βˆ’4 Formula/php53-propro.rb
  20. +0 βˆ’4 Formula/php53-raphf.rb
  21. +0 βˆ’4 Formula/php53-redis.rb
  22. +0 βˆ’4 Formula/php53-snmp.rb
  23. +0 βˆ’4 Formula/php53-sodium.rb
  24. +0 βˆ’4 Formula/php53-swoole.rb
  25. +0 βˆ’4 Formula/php53-xdebug.rb
  26. +0 βˆ’4 Formula/php53-xxtea.rb
  27. +0 βˆ’4 Formula/php53-yaml.rb
  28. +0 βˆ’4 Formula/php54-blitz.rb
  29. +0 βˆ’4 Formula/php54-couchbase.rb
  30. +0 βˆ’4 Formula/php54-fast_assert.rb
  31. +0 βˆ’4 Formula/php54-gmp.rb
  32. +0 βˆ’4 Formula/php54-hprose.rb
  33. +0 βˆ’4 Formula/php54-http.rb
  34. +0 βˆ’4 Formula/php54-httpparser.rb
  35. +0 βˆ’4 Formula/php54-igbinary.rb
  36. +0 βˆ’4 Formula/php54-intl.rb
  37. +0 βˆ’4 Formula/php54-kafka.rb
  38. +0 βˆ’4 Formula/php54-libsodium.rb
  39. +0 βˆ’4 Formula/php54-lzf.rb
  40. +0 βˆ’4 Formula/php54-memcached.rb
  41. +0 βˆ’4 Formula/php54-mongo.rb
  42. +0 βˆ’4 Formula/php54-opcache.rb
  43. +0 βˆ’7 Formula/php54-parsekit.rb
  44. +0 βˆ’4 Formula/php54-phalcon.rb
  45. +0 βˆ’4 Formula/php54-pimple.rb
  46. +0 βˆ’4 Formula/php54-pinba.rb
  47. +0 βˆ’4 Formula/php54-propro.rb
  48. +0 βˆ’4 Formula/php54-raphf.rb
  49. +0 βˆ’4 Formula/php54-redis.rb
  50. +0 βˆ’4 Formula/php54-snmp.rb
  51. +0 βˆ’4 Formula/php54-sodium.rb
  52. +0 βˆ’4 Formula/php54-swoole.rb
  53. +0 βˆ’4 Formula/php54-uopz.rb
  54. +0 βˆ’4 Formula/php54-xdebug.rb
  55. +0 βˆ’4 Formula/php54-xxtea.rb
  56. +0 βˆ’4 Formula/php54-yaml.rb
  57. +0 βˆ’4 Formula/php55-blitz.rb
  58. +0 βˆ’4 Formula/php55-couchbase.rb
  59. +0 βˆ’4 Formula/php55-fast_assert.rb
  60. +0 βˆ’4 Formula/php55-gmp.rb
  61. +0 βˆ’4 Formula/php55-grpc.rb
  62. +0 βˆ’4 Formula/php55-hprose.rb
  63. +0 βˆ’4 Formula/php55-http.rb
  64. +0 βˆ’4 Formula/php55-httpparser.rb
  65. +0 βˆ’4 Formula/php55-igbinary.rb
  66. +0 βˆ’4 Formula/php55-intl.rb
  67. +0 βˆ’4 Formula/php55-kafka.rb
  68. +0 βˆ’4 Formula/php55-libsodium.rb
  69. +0 βˆ’4 Formula/php55-lzf.rb
  70. +0 βˆ’4 Formula/php55-memcached.rb
  71. +0 βˆ’4 Formula/php55-mongo.rb
  72. +0 βˆ’2 Formula/php55-opcache.rb
  73. +0 βˆ’7 Formula/php55-parsekit.rb
  74. +0 βˆ’4 Formula/php55-phalcon.rb
  75. +0 βˆ’4 Formula/php55-pimple.rb
  76. +0 βˆ’4 Formula/php55-pinba.rb
  77. +0 βˆ’4 Formula/php55-propro.rb
  78. +0 βˆ’4 Formula/php55-raphf.rb
  79. +0 βˆ’4 Formula/php55-redis.rb
  80. +0 βˆ’4 Formula/php55-snmp.rb
  81. +0 βˆ’4 Formula/php55-sodium.rb
  82. +0 βˆ’4 Formula/php55-swoole.rb
  83. +0 βˆ’4 Formula/php55-uopz.rb
  84. +0 βˆ’4 Formula/php55-xdebug.rb
  85. +0 βˆ’4 Formula/php55-xxtea.rb
  86. +0 βˆ’4 Formula/php55-yaml.rb
  87. +0 βˆ’4 Formula/php56-blitz.rb
  88. +0 βˆ’4 Formula/php56-couchbase.rb
  89. +0 βˆ’4 Formula/php56-fast_assert.rb
  90. +0 βˆ’4 Formula/php56-gmp.rb
  91. +0 βˆ’4 Formula/php56-grpc.rb
  92. +0 βˆ’4 Formula/php56-hprose.rb
  93. +0 βˆ’4 Formula/php56-http.rb
  94. +0 βˆ’4 Formula/php56-httpparser.rb
  95. +0 βˆ’4 Formula/php56-igbinary.rb
  96. +0 βˆ’4 Formula/php56-intl.rb
  97. +0 βˆ’4 Formula/php56-kafka.rb
  98. +0 βˆ’4 Formula/php56-libsodium.rb
  99. +0 βˆ’4 Formula/php56-lzf.rb
  100. +0 βˆ’4 Formula/php56-memcached.rb
  101. +0 βˆ’4 Formula/php56-mongo.rb
  102. +0 βˆ’4 Formula/php56-oauth.rb
  103. +0 βˆ’4 Formula/php56-opcache.rb
  104. +0 βˆ’7 Formula/php56-parsekit.rb
  105. +0 βˆ’4 Formula/php56-phalcon.rb
  106. +0 βˆ’4 Formula/php56-pimple.rb
  107. +0 βˆ’4 Formula/php56-pinba.rb
  108. +0 βˆ’4 Formula/php56-propro.rb
  109. +0 βˆ’4 Formula/php56-raphf.rb
  110. +0 βˆ’4 Formula/php56-redis.rb
  111. +0 βˆ’4 Formula/php56-snmp.rb
  112. +0 βˆ’4 Formula/php56-sodium.rb
  113. +0 βˆ’4 Formula/php56-swoole.rb
  114. +0 βˆ’4 Formula/php56-uopz.rb
  115. +0 βˆ’4 Formula/php56-xdebug.rb
  116. +0 βˆ’4 Formula/php56-xxtea.rb
  117. +0 βˆ’4 Formula/php56-yaml.rb
  118. +0 βˆ’4 Formula/php70-gmp.rb
  119. +0 βˆ’4 Formula/php70-intl.rb
  120. +0 βˆ’4 Formula/php70-kafka.rb
  121. +0 βˆ’4 Formula/php70-libsodium.rb
  122. +0 βˆ’4 Formula/php70-lzf.rb
  123. +0 βˆ’4 Formula/php70-mcrypt.rb
  124. +0 βˆ’2 Formula/php70-opcache.rb
  125. +0 βˆ’4 Formula/php70-pcntl.rb
  126. +0 βˆ’4 Formula/php70-pdo-pgsql.rb
  127. +0 βˆ’4 Formula/php70-pspell.rb
  128. +0 βˆ’4 Formula/php70-snmp.rb
@@ -120,7 +120,7 @@ def config_file
end
test do
shell_output("php -m").downcase.include?(extension.downcase)
assert shell_output("#{Formula[php_formula].opt_bin}/php -m").downcase.include?(extension.downcase), "failed to find extension in php -m output"
end
def caveats
View
@@ -49,8 +49,4 @@ def config_file
blitz.warn_context_duplicates=0
EOS
end
test do
shell_output("php -m").include?("blitz")
end
end
@@ -34,8 +34,4 @@ def install
prefix.install "modules/couchbase.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("couchbase")
end
end
View
@@ -30,8 +30,4 @@ def install
prefix.install "modules/gmp.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("gmp")
end
end
View
@@ -25,8 +25,4 @@ def install
prefix.install "modules/hprose.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("hprose")
end
end
View
@@ -50,8 +50,4 @@ def install
# remove old configuration file
rm_f config_scandir_path / "ext-http.ini"
end
test do
shell_output("php -m").include?("http")
end
end
@@ -42,8 +42,4 @@ def config_file
;apc.serializer=igbinary
EOS
end
test do
shell_output("php -m").include?("igbinary")
end
end
View
@@ -41,8 +41,4 @@ def config_file
;intl.error_level = E_WARNING
EOS
end
test do
shell_output("php -m").include?("intl")
end
end
View
@@ -22,8 +22,4 @@ def install
prefix.install "modules/kafka.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("kafka")
end
end
@@ -27,8 +27,4 @@ def install
prefix.install "modules/libsodium.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("libsodium")
end
end
View
@@ -20,8 +20,4 @@ def install
prefix.install "modules/lzf.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("lzf")
end
end
@@ -170,8 +170,4 @@ def config_file
memcached.store_retry_count = 2
EOS
end
test do
shell_output("php -m").include?("memcached")
end
end
View
@@ -26,8 +26,4 @@ def install
prefix.install "modules/mongo.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("mongo")
end
end
View
@@ -208,8 +208,4 @@ def config_file
apc.cache_by_default = false
EOS
end
test do
shell_output("php -m").include?("OPcache")
end
end
@@ -28,11 +28,4 @@ def install
prefix.install "examples"
write_config_file if build.with? "config-file"
end
test do
Dir.chdir prefix
shell_output("php -m").include?("parsekit")\
&& shell_output("php examples/compile_file.php")\
&& shell_output("php examples/compile_string.php")
end
end
View
@@ -34,8 +34,4 @@ def install
prefix.install "modules/phalcon.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("phalcon")
end
end
View
@@ -19,8 +19,4 @@ def install
end
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("pimple")
end
end
View
@@ -26,8 +26,4 @@ def install
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("pinba")
end
end
View
@@ -26,8 +26,4 @@ def install
prefix.install "modules/propro.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("propro")
end
end
View
@@ -25,8 +25,4 @@ def install
prefix.install "modules/raphf.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("raphf")
end
end
View
@@ -45,8 +45,4 @@ def config_file
;session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5, tcp://host3:6379?weight=2"
EOS
end
test do
shell_output("php -m").include?("redis")
end
end
View
@@ -30,8 +30,4 @@ def install
prefix.install "modules/snmp.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("snmp")
end
end
View
@@ -18,8 +18,4 @@ def install
prefix.install "modules/sodium.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").split("\n").include?("sodium")
end
end
View
@@ -24,8 +24,4 @@ def install
prefix.install "modules/swoole.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("swoole")
end
end
View
@@ -26,8 +26,4 @@ def install
prefix.install "modules/xdebug.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("Xdebug")
end
end
View
@@ -19,8 +19,4 @@ def install
prefix.install "modules/xxtea.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("xxtea")
end
end
View
@@ -29,8 +29,4 @@ def install
prefix.install "modules/yaml.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("yaml")
end
end
View
@@ -49,8 +49,4 @@ def config_file
blitz.warn_context_duplicates=0
EOS
end
test do
shell_output("php -m").include?("blitz")
end
end
@@ -34,8 +34,4 @@ def install
prefix.install "modules/couchbase.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("couchbase")
end
end
@@ -34,8 +34,4 @@ def install
prefix.install ["modules/fast_assert.so"]
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("fast_assert")
end
end
View
@@ -31,8 +31,4 @@ def install
prefix.install "modules/gmp.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("gmp")
end
end
View
@@ -25,8 +25,4 @@ def install
prefix.install "modules/hprose.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("hprose")
end
end
View
@@ -50,8 +50,4 @@ def install
# remove old configuration file
rm_f config_scandir_path / "ext-http.ini"
end
test do
shell_output("php -m").include?("http")
end
end
@@ -32,8 +32,4 @@ def install
prefix.install ["modules/httpparser.so"]
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("httpparser")
end
end
@@ -42,8 +42,4 @@ def config_file
;apc.serializer=igbinary
EOS
end
test do
shell_output("php -m").include?("igbinary")
end
end
View
@@ -42,8 +42,4 @@ def config_file
;intl.error_level = E_WARNING
EOS
end
test do
shell_output("php -m").include?("intl")
end
end
View
@@ -22,8 +22,4 @@ def install
prefix.install "modules/kafka.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("kafka")
end
end
@@ -27,8 +27,4 @@ def install
prefix.install "modules/libsodium.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("libsodium")
end
end
View
@@ -20,8 +20,4 @@ def install
prefix.install "modules/lzf.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("lzf")
end
end
@@ -170,8 +170,4 @@ def config_file
memcached.store_retry_count = 2
EOS
end
test do
shell_output("php -m").include?("memcached")
end
end
View
@@ -26,8 +26,4 @@ def install
prefix.install "modules/mongo.so"
write_config_file if build.with? "config-file"
end
test do
shell_output("php -m").include?("mongo")
end
end
View
@@ -208,8 +208,4 @@ def config_file
apc.cache_by_default = false
EOS
end
test do
shell_output("php -m").include?("OPcache")
end
end
@@ -35,11 +35,4 @@ def install
prefix.install "examples"
write_config_file if build.with? "config-file"
end
test do
Dir.chdir prefix
shell_output("php -m").include?("parsekit")\
&& shell_output("php examples/compile_file.php")\
&& shell_output("php examples/compile_string.php")
end
end
Oops, something went wrong.

0 comments on commit 3698e0f

Please sign in to comment.