File: Makefile.tests

package info (click to toggle)
crun 1.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 9,736 kB
  • sloc: ansic: 66,212; python: 7,047; sh: 5,122; makefile: 768
file content (14 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TESTS := $(shell find . -name "test_*.py")

INIT ?= init
OCI_RUNTIME ?= /usr/bin/crun

check: $(INIT) tap-driver.sh
	OCI_RUNTIME=${OCI_RUNTIME} INIT=${INIT} ./run_all_tests.sh

tap-driver.sh:
	wget https://git.savannah.gnu.org/cgit/automake.git/plain/lib/tap-driver.sh
	chmod +x tap-driver.sh

init: init.c
	$(CC) -static $< -o $@