Skip to content

Commit de33175

Browse files
committed
boot_smoke: log the observed sys.prefix in materialize-boot
The acceptance record wants the rewired root as the interpreter reported it, not only the assertion's name.
1 parent 381f0b5 commit de33175

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tools/boot_smoke‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,9 @@ def run_scenarios(executable, platform, selected, tfs:, line:) # rubocop:disable
437437
check("materialize-boot: sys.prefix is the extracted tree, not the baked root",
438438
!prefix.nil? && !prefix.empty? && prefix != platform.mount_root,
439439
"stdout: #{out}\nstderr: #{err}")
440+
# The proof line for the tier's acceptance record: the rewired
441+
# root as the interpreter reported it (the baked root is A:/t).
442+
puts " materialize-boot: sys.prefix=#{prefix}"
440443
when "mount-root-override"
441444
override = File.join(dir, "override-root")
442445
out, err, st = boot(executable, ["-c", probe],

0 commit comments

Comments
 (0)