Explorar o código

udpate valgrind

pikastech %!s(int64=3) %!d(string=hai) anos
pai
achega
e58095c2eb
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      port/linux/_gtest_once.sh
  2. 2 2
      port/linux/valgrind.sh

+ 1 - 1
port/linux/_gtest_once.sh

@@ -2,4 +2,4 @@
 rm build/test/pikascript_test -f
 rm $(find build -name *.gcda)
 sh make.sh
-build/test/pikascript_test 
+build/test/pikascript_test

+ 2 - 2
port/linux/valgrind.sh

@@ -1,9 +1,9 @@
 sh only_make.sh
 if [ $# == 0 ] ; then
-	valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all --exit-on-first-error=yes --error-exitcode=1 build/test/pikascript_test --num-callers=50
+	valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all --exit-on-first-error=yes --error-exitcode=1 --num-callers=50 build/test/pikascript_test 
 fi
 
 if [ $# == 1 ] ; then
 	filter=$1
-	valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all  build/test/pikascript_test --gtest_filter=$filter --exit-on-first-error=yes --error-exitcode=1 --num-callers=50
+	valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all  --exit-on-first-error=yes --error-exitcode=1 --num-callers=50 build/test/pikascript_test --gtest_filter=$filter 
 fi