Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -18,8 +18,17 @@ import (
|
||||
)
|
||||
|
||||
// buildGasm produces the gasm binary the debugger spawns as its debuggee.
|
||||
// Every live ptrace test funnels through here, so this is also where the
|
||||
// deliberate-run boundary sits: under -short (the push pipeline's mode) the
|
||||
// live sessions skip, because a real debuggee's launch handshake needs the
|
||||
// machine to itself and a starved single-core runner turns each one into a
|
||||
// timeout that burns the step's whole budget. The local test gate and the
|
||||
// dispatched workflows run them in full.
|
||||
func buildGasm(t *testing.T) string {
|
||||
t.Helper()
|
||||
if testing.Short() {
|
||||
t.Skip("live ptrace session: skipped in -short mode")
|
||||
}
|
||||
if p := os.Getenv("GASM_TEST_BIN"); p != "" {
|
||||
return p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user