fix(mac): require dist dSYM artifacts · openclaw/openclaw@fe9f28f
vincentkoc
·
2026-05-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -79,6 +79,17 @@ describe("package-mac-dist plist validation", () => {
|
79 | 79 | expect(releaseBlock).not.toContain("*.debug"); |
80 | 80 | }); |
81 | 81 | |
| 82 | +it("fails closed when required dSYM outputs are missing", () => { |
| 83 | +const script = readFileSync(scriptPath, "utf8"); |
| 84 | +const dsymBlock = script.slice(script.indexOf('if [[ "$SKIP_DSYM" != "1" ]]')); |
| 85 | + |
| 86 | +expect(dsymBlock).toContain("Error: missing DWARF binaries for dSYM merge"); |
| 87 | +expect(dsymBlock).toContain("Error: dSYM not found"); |
| 88 | +expect(dsymBlock).toContain("exit 1"); |
| 89 | +expect(dsymBlock).not.toContain("WARN:"); |
| 90 | +expect(dsymBlock).not.toContain("continuing"); |
| 91 | +}); |
| 92 | + |
82 | 93 | it.runIf(process.platform === "darwin")( |
83 | 94 | "prints required plist keys and fails when a key is missing", |
84 | 95 | () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。