deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.

SVN-Revision: 23825
This commit is contained in:
Michael Büsch 2010-11-03 14:58:32 +00:00
parent f75ac90b69
commit 050902efd7
2 changed files with 3 additions and 2 deletions

View file

@ -153,12 +153,12 @@ ifndef DUMP
$(call Host/Compile) $(call Host/Compile)
touch $$@ touch $$@
$(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE)
$(call Host/Install) $(call Host/Install)
mkdir -p $$(shell dirname $$@) mkdir -p $$(shell dirname $$@)
touch $$@ touch $$@
else else
$(HOST_STAMP_BUILT): $(HOST_STAMP_CONFIGURED) $(HOST_STAMP_BUILT): $(HOST_STAMP_CONFIGURED) $(if $(FORCE_HOST_INSTALL),FORCE)
$(call Host/Compile) $(call Host/Compile)
$(call Host/Install) $(call Host/Install)
touch $$@ touch $$@

View file

@ -74,6 +74,7 @@ test_package() # $1=pkgname
BUILD_DIR_HOST="$BUILD_DIR_HOST" \ BUILD_DIR_HOST="$BUILD_DIR_HOST" \
STAGING_DIR="$STAGING_DIR" \ STAGING_DIR="$STAGING_DIR" \
STAGING_DIR_HOST="$STAGING_DIR_HOST" \ STAGING_DIR_HOST="$STAGING_DIR_HOST" \
FORCE_HOST_INSTALL=1 \
V=99 >"$LOG_DIR/$(basename $pkg).log" 2>&1 V=99 >"$LOG_DIR/$(basename $pkg).log" 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
touch "$STAMP_SUCCESS" touch "$STAMP_SUCCESS"