@@ -114,8 +114,8 @@ def stash_based(tests, binary_dir):
114114 """Compares working dir vs. stashed state, measures JAR sizes and per-test build times."""
115115 # Phase 1A: build main project WITH changes
116116 print ("|--- 🛠️ Building main project WITH unstaged changes…" )
117- run_command (["make " , "clean" ], check = True )
118- run_command (["make " , "all" ], check = True )
117+ run_command (["./build.py " , "clean" ], check = True )
118+ run_command (["./build.py " , "all" ], check = True )
119119
120120 # Phase 1B: build each test and time it
121121 times_with = {}
@@ -125,7 +125,7 @@ def stash_based(tests, binary_dir):
125125 print (f"|---- Building test: { name } " )
126126 t0 = time .time ()
127127 # Note: The original script didn't specify --release or --target here.
128- # The actual JAR location might depend on how 'make all' configures things.
128+ # The actual JAR location might depend on how './build.py all' configures things.
129129 run_command (["cargo" , "clean" ], cwd = t , check = True )
130130 run_command (["cargo" , "build" ], cwd = t , check = True )
131131 elapsed = time .time () - t0
@@ -155,8 +155,8 @@ def stash_based(tests, binary_dir):
155155
156156 # Phase 2A: build main project at HEAD
157157 print ("\n |--- 🛠️ Building main project at HEAD (no changes)…" )
158- run_command (["make " , "clean" ], check = True )
159- run_command (["make " , "all" ], check = True )
158+ run_command (["./build.py " , "clean" ], check = True )
159+ run_command (["./build.py " , "all" ], check = True )
160160
161161 # Phase 2B: build each test at HEAD and time it
162162 times_without = {}
@@ -250,8 +250,8 @@ def commit_based(tests, binary_dir, n):
250250
251251 # Phase 1A: build main project at HEAD
252252 print (f"\n |--- 🛠️ Building main project at HEAD ({ orig_head [:10 ]} )…" )
253- run_command (["make " , "clean" ], check = True )
254- run_command (["make " , "all" ], check = True )
253+ run_command (["./build.py " , "clean" ], check = True )
254+ run_command (["./build.py " , "all" ], check = True )
255255
256256 # Phase 1B: build & time each test at HEAD
257257 times_head = {}
@@ -282,8 +282,8 @@ def commit_based(tests, binary_dir, n):
282282
283283 # Phase 2A: build main project at HEAD~N
284284 print (f"\n |--- 🛠️ Building main project at HEAD~{ n } …" )
285- run_command (["make " , "clean" ], check = True )
286- run_command (["make " , "all" ], check = True )
285+ run_command (["./build.py " , "clean" ], check = True )
286+ run_command (["./build.py " , "all" ], check = True )
287287
288288 # Phase 2B: build & time each test at HEAD~N
289289 times_old = {}
0 commit comments