| ... | ... | @@ -557,15 +557,15 @@ fn make(step: *Step, make_options: Step.MakeOptions) !void { |
| 557 | 557 | const check_object: *CheckObject = @fieldParentPtr("step", step); |
| 558 | 558 | try step.singleUnchangingWatchInput(check_object.source); |
| 559 | 559 | |
| 560 | | const src_path = check_object.source.getPath2(b, step); |
| 561 | | const contents = fs.cwd().readFileAllocOptions( |
| 560 | const src_path = check_object.source.getPath3(b, step); |
| 561 | const contents = src_path.root_dir.handle.readFileAllocOptions( |
| 562 | 562 | gpa, |
| 563 | | src_path, |
| 563 | src_path.sub_path, |
| 564 | 564 | check_object.max_bytes, |
| 565 | 565 | null, |
| 566 | 566 | @alignOf(u64), |
| 567 | 567 | null, |
| 568 | | ) catch |err| return step.fail("unable to read '{s}': {s}", .{ src_path, @errorName(err) }); |
| 568 | ) catch |err| return step.fail("unable to read '{'}': {s}", .{ src_path, @errorName(err) }); |
| 569 | 569 | |
| 570 | 570 | var vars = std.StringHashMap(u64).init(gpa); |
| 571 | 571 | for (check_object.checks.items) |chk| { |
| ... | ... | @@ -640,8 +640,13 @@ fn make(step: *Step, make_options: Step.MakeOptions) !void { |
| 640 | 640 | \\{s} |
| 641 | 641 | \\========= but parsed file does not contain it: ======= |
| 642 | 642 | \\{s} |
| 643 | | \\====================================================== |
| 644 | | , .{ fmtMessageString(chk.kind, act.phrase.resolve(b, step)), fmtMessageString(chk.kind, output) }); |
| 643 | \\========= file path: ================================= |
| 644 | \\{} |
| 645 | , .{ |
| 646 | fmtMessageString(chk.kind, act.phrase.resolve(b, step)), |
| 647 | fmtMessageString(chk.kind, output), |
| 648 | src_path, |
| 649 | }); |
| 645 | 650 | } |
| 646 | 651 | }, |
| 647 | 652 | |
| ... | ... | @@ -655,8 +660,13 @@ fn make(step: *Step, make_options: Step.MakeOptions) !void { |
| 655 | 660 | \\*{s}* |
| 656 | 661 | \\========= but parsed file does not contain it: ======= |
| 657 | 662 | \\{s} |
| 658 | | \\====================================================== |
| 659 | | , .{ fmtMessageString(chk.kind, act.phrase.resolve(b, step)), fmtMessageString(chk.kind, output) }); |
| 663 | \\========= file path: ================================= |
| 664 | \\{} |
| 665 | , .{ |
| 666 | fmtMessageString(chk.kind, act.phrase.resolve(b, step)), |
| 667 | fmtMessageString(chk.kind, output), |
| 668 | src_path, |
| 669 | }); |
| 660 | 670 | } |
| 661 | 671 | }, |
| 662 | 672 | |
| ... | ... | @@ -669,8 +679,13 @@ fn make(step: *Step, make_options: Step.MakeOptions) !void { |
| 669 | 679 | \\{s} |
| 670 | 680 | \\========= but parsed file does contain it: ======== |
| 671 | 681 | \\{s} |
| 672 | | \\=================================================== |
| 673 | | , .{ fmtMessageString(chk.kind, act.phrase.resolve(b, step)), fmtMessageString(chk.kind, output) }); |
| 682 | \\========= file path: ============================== |
| 683 | \\{} |
| 684 | , .{ |
| 685 | fmtMessageString(chk.kind, act.phrase.resolve(b, step)), |
| 686 | fmtMessageString(chk.kind, output), |
| 687 | src_path, |
| 688 | }); |
| 674 | 689 | } |
| 675 | 690 | }, |
| 676 | 691 | |
| ... | ... | @@ -684,8 +699,13 @@ fn make(step: *Step, make_options: Step.MakeOptions) !void { |
| 684 | 699 | \\{s} |
| 685 | 700 | \\========= but parsed file does not contain it: ======= |
| 686 | 701 | \\{s} |
| 687 | | \\====================================================== |
| 688 | | , .{ act.phrase.resolve(b, step), fmtMessageString(chk.kind, output) }); |
| 702 | \\========= file path: ============================== |
| 703 | \\{} |
| 704 | , .{ |
| 705 | act.phrase.resolve(b, step), |
| 706 | fmtMessageString(chk.kind, output), |
| 707 | src_path, |
| 708 | }); |
| 689 | 709 | } |
| 690 | 710 | }, |
| 691 | 711 | |