summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/firmware/Makefile
blob: e23cce0bbc3a5ee90db9ef01c1a7b44c7d3e41aa (plain)
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
# Makefile for firmware loading selftests

# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
all:

fw_filesystem:
	@if /bin/sh ./fw_filesystem.sh ; then \
                echo "fw_filesystem: ok"; \
        else \
                echo "fw_filesystem: [FAIL]"; \
                exit 1; \
        fi

fw_userhelper:
	@if /bin/sh ./fw_userhelper.sh ; then \
                echo "fw_userhelper: ok"; \
        else \
                echo "fw_userhelper: [FAIL]"; \
                exit 1; \
        fi

run_tests: all fw_filesystem fw_userhelper

# Nothing to clean up.
clean:

.PHONY: all clean run_tests fw_filesystem fw_userhelper