Skip to content

Commit 880e204

Browse files
committed
Match run-tests.php valgrind options
1 parent 289dfa5 commit 880e204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
}
1010
],
1111
"require-dev": {
12-
"php-ds/tests": "dev-master"
12+
"php-ds/tests": "^1.1"
1313
},
1414
"scripts": {
1515
"test": "vendor/bin/phpunit -c ./vendor/php-ds/tests/phpunit.xml",
16-
"memtest": "USE_ZEND_ALLOC=0 ZEND_DONT_UNLOAD_MODULES=1 valgrind --error-exitcode=1 --leak-check=full --track-origins=yes php vendor/bin/phpunit -c ./vendor/php-ds/tests/phpunit.xml"
16+
"memtest": "USE_ZEND_ALLOC=0 ZEND_DONT_UNLOAD_MODULES=1 valgrind --error-exitcode=1 --tool=memcheck --trace-children=yes --vex-iropt-precise-memory-exns=yes --track-origins=yes php vendor/bin/phpunit -c ./vendor/php-ds/tests/phpunit.xml"
1717
}
1818
}

0 commit comments

Comments
 (0)