Skip to content

Commit 99ccf5d

Browse files
committed
Allow testing via make
1 parent 59b5cc3 commit 99ccf5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
all: buildota buildotaoss ;
99

10-
.PHONY: all build clean test cmdline
10+
.PHONY: all clean test check build cmdline
1111

1212
buildota:
1313
BUILD_TYPE=full "$(CURDIR)/build.sh" --no-default-build-type --no-pause $(ARGS)
@@ -16,6 +16,10 @@ buildotaoss:
1616
BUILD_TYPE=oss "$(CURDIR)/build.sh" --no-default-build-type --no-pause $(ARGS)
1717
build: buildotaoss ;
1818

19+
test:
20+
"$(CURDIR)/recovery-simulator/recovery.sh" "$(CURDIR)"/output/*.zip
21+
check: test ;
22+
1923
clean:
2024
rm -f "$(CURDIR)/output/"*.zip
2125
rm -f "$(CURDIR)/output/"*.zip.md5

0 commit comments

Comments
 (0)