forked from sclorg/container-common-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (23 loc) · 689 Bytes
/
Makefile
File metadata and controls
36 lines (23 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SHELL := /usr/bin/env bash
all:
@echo >&2 "Only 'make check' allowed"
TESTED_IMAGES = \
postgresql-container \
s2i-python-container
.PHONY: check test all check-failures
TEST_LIB_TESTS = \
path_foreach \
random_string
$(TEST_LIB_TESTS):
@echo " RUN TEST '$@'" ; \
$(SHELL) tests/test-lib/$@ || $(SHELL) -x tests/lib/$@
test-lib-foreach:
check-test-lib: $(TEST_LIB_TESTS)
test: check
check-failures: check-test-lib
cd tests/failures/check && make tag && ! make check && make clean
cd tests/failures/check && make tag SKIP_SQUASH=0
check-squash:
./tests/squash/squash.sh
check: check-failures check-squash
TESTED_IMAGES="$(TESTED_IMAGES)" tests/remote-containers.sh