Skip to content

Commit 87e506a

Browse files
committed
Adding validation for upgrade status test
1 parent 53120da commit 87e506a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/makefile/tests.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,13 @@ endif
9999

100100
## Validate upgrade-status
101101
upgradestatusval:
102+
ifneq ("$(wildcard scripts/makefile/upgrade-status-validation.sh)","")
102103
@echo "Upgrade status validation..."
104+
$(call php, composer install -o)
103105
@$(call php, /bin/sh ./scripts/makefile/upgrade-status-validation.sh)
106+
else
107+
@echo "scripts/makefile/upgrade-status-validation.sh file does not exist"
108+
endif
104109

105110
## Validate newline at the end of files
106111
newlineeof:

0 commit comments

Comments
 (0)