]> sourceware.org Git - valgrind.git/commitdiff
Make cg_annotate independent of python3 install location
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 22 Mar 2023 19:43:30 +0000 (20:43 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 22 Mar 2023 19:43:30 +0000 (20:43 +0100)
cachegrind/cg_annotate.in
cachegrind/tests/ann1.vgtest
cachegrind/tests/ann2.vgtest

index 247026f1fa3be3c154675adccc783b03c1ca681f..91d75aecdff2ea9991728eeef372ef043ef66297 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#! /usr/bin/env python3
 # pyright: strict
 
 # --------------------------------------------------------------------
index e3e574276a4337db642a041137342d52ada9f4d4..660f524f09a730bab78b9ec569c6f1d46cea7d37 100644 (file)
@@ -2,5 +2,5 @@
 # the post-processing of the cgout-test file.
 prog: ../../tests/true
 vgopts: --cachegrind-out-file=cachegrind.out
-post: touch cgout-test && perl ../../cachegrind/cg_annotate --show=Ir,I1mr,ILmr --show-percs=no cgout-test
+post: touch cgout-test && python3 ../../cachegrind/cg_annotate --show=Ir,I1mr,ILmr --show-percs=no cgout-test
 cleanup: rm cachegrind.out
index 7cf1b7fcd3a2f2028bef5f2d94ae01b556a2ad88..9ef76e38e9bda564768a24273a155ca796863240 100644 (file)
@@ -2,5 +2,5 @@
 # the post-processing of the cgout-test file.
 prog: ../../tests/true
 vgopts: --cachegrind-out-file=cachegrind.out
-post: touch cgout-test && perl ../../cachegrind/cg_annotate --sort=Dr --show=Dw,Dr,Ir --auto=no cgout-test a.c
+post: touch cgout-test && python3 ../../cachegrind/cg_annotate --sort=Dr --show=Dw,Dr,Ir --auto=no cgout-test a.c
 cleanup: rm cachegrind.out
This page took 0.039068 seconds and 5 git commands to generate.