summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-15 14:22:39 +0000
committerBob Weinand <bobwei9@hotmail.com>2015-07-15 14:22:51 +0000
commitaf0d6256d5f95556d93685fb8b34e09406e85f8f (patch)
tree53521628372240511569299eb70b4a4e7eeda0d0 /run-tests.php
parenta658465ef2ff7e47fc93b4988e4caa6f42d4ae49 (diff)
downloadphp-git-af0d6256d5f95556d93685fb8b34e09406e85f8f.tar.gz
Fix [valid] valgrind warnings, add first watchpoints test
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index ba44ce5464..8222c78709 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1876,11 +1876,12 @@ TEST $file
$env['USE_ZEND_ALLOC'] = '0';
$env['ZEND_DONT_UNLOAD_MODULES'] = 1;
+ /* --vex-iropt-register-updates=allregs-at-mem-access is necessary for phpdbg watchpoint tests */
if (version_compare($valgrind_version, '3.3.0', '>=')) {
/* valgrind 3.3.0+ doesn't have --log-file-exactly option */
- $cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file=$memcheck_filename $cmd";
+ $cmd = "valgrind -q --tool=memcheck --trace-children=yes --vex-iropt-register-updates=allregs-at-mem-access --log-file=$memcheck_filename $cmd";
} else {
- $cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd";
+ $cmd = "valgrind -q --tool=memcheck --trace-children=yes --vex-iropt-register-updates=allregs-at-mem-access --log-file-exactly=$memcheck_filename $cmd";
}
} else {