diff mbox series

Fix dependencies for acceptance-tests

Message ID 20210408143130.3581935-1-sbabic@denx.de
State Accepted
Headers show
Series Fix dependencies for acceptance-tests | expand

Commit Message

Stefano Babic April 8, 2021, 2:31 p.m. UTC
These tests run swupdate binary that must be built before starting the
tests. Fix dependency in Makefile.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Reported-by: Mark Jonas <toertel@gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Jonas April 8, 2021, 2:34 p.m. UTC | #1
On Thu, Apr 8, 2021 at 4:31 PM Stefano Babic <sbabic@denx.de> wrote:
>
> These tests run swupdate binary that must be built before starting the
> tests. Fix dependency in Makefile.
>
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> Reported-by: Mark Jonas <toertel@gmail.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index af40d8c..cc15452 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -483,7 +483,7 @@ PHONY += tests
>  tests: acceptance-tests test
>
>  PHONY += acceptance-tests
> -acceptance-tests: FORCE
> +acceptance-tests: swupdate ${tools-bins} FORCE
>         $(Q)$(MAKE) $(build)=scripts/acceptance-tests tests
>
>  PHONY += test
> --
> 2.25.1
>

I tested it and it works. Thank you.

Reviewed-by: Mark Jonas <toertel@gmail.com>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index af40d8c..cc15452 100644
--- a/Makefile
+++ b/Makefile
@@ -483,7 +483,7 @@  PHONY += tests
 tests: acceptance-tests test
 
 PHONY += acceptance-tests
-acceptance-tests: FORCE
+acceptance-tests: swupdate ${tools-bins} FORCE
 	$(Q)$(MAKE) $(build)=scripts/acceptance-tests tests
 
 PHONY += test