[go: up one dir, main page]

File: Makefile

package info (click to toggle)
rust-libslirp 4.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 240 kB
  • sloc: python: 446; makefile: 16
file content (16 lines) | stat: -rw-r--r-- 354 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CARGO = cargo
CARGOFLAGS =
SLIRPHELPER = target/debug/libslirp-helper

.PHONY: $(SLIRPHELPER)
$(SLIRPHELPER):
	$(CARGO) build --all-features $(CARGOFLAGS)

.PHONY: test
test: $(SLIRPHELPER)
	SLIRPHELPER=$(SLIRPHELPER) \
	PYTHONPATH=. \
	PYTHONIOENCODING=utf-8 \
		unshare -Ur \
		dbus-run-session --config-file=tests/dbus.conf \
		python3 -m unittest -v