oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package render
2
3import (
4 "os"
5 "testing"
6
7 "amadan.net/rastrillo/rastrillo/budget"
8)
9
10// The test binary doubles as the sandbox's first process and as a fake
11// browser, so the launch tests run under bubblewrap without Chromium:
12// argv "render-sandbox" is SandboxMain, "render-probe ..." reports what
13// the sandbox's first process can see and reach, and a binary named like
14// the browser (BrowserPath, in a test tree) plays the browser.
15func TestMain(m *testing.M) {
16 if code, ok := helperMain(os.Args); ok {
17 os.Exit(code)
18 }
19 os.Exit(budget.Main(m))
20}
21