summarylogtreecommitdiffstats
path: root/php-tests.patch
diff options
context:
space:
mode:
authorEugene Lamskoy2021-12-16 17:40:00 +0200
committerEugene Lamskoy2021-12-16 17:44:44 +0200
commitfe47b6363c7adaba6d1a164069f870f853b741ea (patch)
tree1cc78cba43932169c726d18759280d3d1dc4f596 /php-tests.patch
parent4ed2970f5c40a7ed50e96a91671ce4cb4d058ae2 (diff)
downloadaur-fe47b6363c7adaba6d1a164069f870f853b741ea.tar.gz
New pkgbuild
Diffstat (limited to 'php-tests.patch')
-rw-r--r--php-tests.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-tests.patch b/php-tests.patch
new file mode 100644
index 000000000000..6f01e6d0f4db
--- /dev/null
+++ b/php-tests.patch
@@ -0,0 +1,11 @@
+--- a/run-tests.php
++++ b/run-tests.php
+@@ -813,7 +813,7 @@
+
+ junit_save_xml();
+
+- if (getenv('REPORT_EXIT_STATUS') == 1 and preg_match('/FAILED(?: |$)/', implode(' ', $test_results))) {
++ if (getenv('REPORT_EXIT_STATUS') == 1 and $sum_results['FAILED']) {
+ exit(1);
+ }
+