MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / writeFakeQEMURunner

Function writeFakeQEMURunner

Tests/Tools/ToolsTest.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 info.packageVariant = "host";
110 info.source = "test";
111 info.sourceHash = "";
112 info.validation = "passed";
113 const StringView phases[] = {"writeReceipt"};
114 info.phases = phases;
115 return Tools::writePackageReceipt(package, info, exports);
116}
117
118#if !SC_PLATFORM_WINDOWS
119static Result writeFakeQEMURunner(FileSystem& fs, StringView path, StringView name)
120{
121 String script = StringEncoding::Utf8;
122 auto builder = StringBuilder::create(script);
123 SC_TRY(builder.append("#!/bin/sh\n"));

Callers 1

SupportToolsTestMethod · 0.85

Calls 6

createFunction · 0.85
appendMethod · 0.45
finalizeMethod · 0.45
writeStringMethod · 0.45
viewMethod · 0.45
chmodMethod · 0.45

Tested by

no test coverage detected