Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 %:
4 dh $@ --builddirectory=debian/_build --buildsystem=golang
5
6 override_dh_auto_install:
7 dh_auto_install -- --no-binaries
8
9 execute_after_dh_auto_build:
10 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/browser_test.go
11 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/dev_helpers_test.go
12 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/element_test.go
13 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/examples_test.go
14 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/hijack_test.go
15 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/input_test.go
16 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/lib/examples/e2e-testing/calculator_test.go
17 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/lib/examples/e2e-testing/setup_test.go
18 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/must_test.go
19 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/page_eval_test.go
20 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/page_test.go
21 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/query_test.go
22 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/rod_test.go
23 rm -fv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/setup_test.go
24
25 # riscv64: FAIL: TestIdleCounter (0.40s): utils_test.go:223: gop.Duration("391.12987ms") ⦗not >⦘ gop.Duration("400ms")
26 # panic: can't find a browser binary for your OS, the doc might help
27 # --- FAIL: TestSlowSend (0.00s)
28 # panic: You must set GODEBUG="tracebackancestors=N", N should be a big enough integer, such as 1000 [recovered, repanicked]
29 SKIP="TestBasic|TestManaged|TestUseNode|TestLaunchClient|TestLaunch|TestCrash|TestWebSocketLargePayload|TestDuplicatedConnectErr|ExampleClient|TestIdleCounter"
30 override_dh_auto_test:
31 -dh_auto_test $(DH_BUILD_OPTS) -- -run $(SKIP)
32 GODEBUG="tracebackancestors=1000" \
33 dh_auto_test $(DH_BUILD_OPTS) -- -skip $(SKIP)
34 rm -rfv $(CURDIR)/debian/_build/src/github.com/go-rod/rod/lib/utils/tmp