@@ -9,13 +9,8 @@ class Gprof2dot < Formula
99 head "https://github.com/jrfonseca/gprof2dot.git" , branch : "master"
1010
1111 bottle do
12- rebuild 1
13- sha256 cellar : :any_skip_relocation , arm64_sequoia : "31bfacb896a0c0fc72908c76e848e5263102b66a41c7182d972e02d31a6e6e3e"
14- sha256 cellar : :any_skip_relocation , arm64_sonoma : "31bfacb896a0c0fc72908c76e848e5263102b66a41c7182d972e02d31a6e6e3e"
15- sha256 cellar : :any_skip_relocation , arm64_ventura : "31bfacb896a0c0fc72908c76e848e5263102b66a41c7182d972e02d31a6e6e3e"
16- sha256 cellar : :any_skip_relocation , sonoma : "31bfacb896a0c0fc72908c76e848e5263102b66a41c7182d972e02d31a6e6e3e"
17- sha256 cellar : :any_skip_relocation , ventura : "31bfacb896a0c0fc72908c76e848e5263102b66a41c7182d972e02d31a6e6e3e"
18- sha256 cellar : :any_skip_relocation , x86_64_linux : "39591774b33ca82f1efa5764aa2254e0e83729b79b8f2e90d1296b5f77376bdf"
12+ rebuild 2
13+ sha256 cellar : :any_skip_relocation , all : "d184e68d282b694cdae5bebaed6a501705f2576974de0991823a506296db1c67"
1914 end
2015
2116 depends_on "graphviz"
@@ -30,7 +25,7 @@ def install
3025 end
3126
3227 test do
33- ( testpath /"gprof.output " ) . write <<~EOS
28+ ( testpath /"gprof.prof " ) . write <<~PROF
3429 Flat profile:
3530
3631 Each sample counts as 0.01 seconds.
@@ -185,8 +180,8 @@ def install
185180
186181 [1] manager [5] project2 [3] worker2
187182 [4] project1 [2] worker1
188- EOS
189- system bin /"gprof2dot" , testpath /"gprof.output " , "-o" , testpath /"call_graph.dot"
190- assert_predicate testpath /"call_graph.dot" , :exist?
183+ PROF
184+ system bin /"gprof2dot" , testpath /"gprof.prof " , "-o" , testpath /"call_graph.dot"
185+ assert_path_exists testpath /"call_graph.dot"
191186 end
192187end
0 commit comments