[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 14/28] tests/lcitool: Allow lcitool-refresh in out-of-tree builds,
From: |
Alex Bennée |
Subject: |
[PULL 14/28] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too |
Date: |
Wed, 9 Feb 2022 14:15:15 +0000 |
From: Thomas Huth <thuth@redhat.com>
When running "make lcitool-refresh" in an out-of-tree build, it
currently fails with an error message from git like this:
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Fix it by changing to the source directory first before updating
the submodule.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220201085554.85733-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220204204335.1689602-15-alex.bennee@linaro.org>
diff --git a/tests/lcitool/Makefile.include b/tests/lcitool/Makefile.include
index cff7c0b814..6b215adcd1 100644
--- a/tests/lcitool/Makefile.include
+++ b/tests/lcitool/Makefile.include
@@ -13,5 +13,5 @@ lcitool:
lcitool-help: lcitool
lcitool-refresh:
- $(call quiet-command, git submodule update --init
$(SRC_PATH)/tests/lcitool/libvirt-ci)
+ $(call quiet-command, cd $(SRC_PATH) && git submodule update --init
tests/lcitool/libvirt-ci)
$(call quiet-command, $(LCITOOL_REFRESH))
--
2.30.2
- [PULL 00/28] testing and plugin updates, Alex Bennée, 2022/02/09
- [PULL 22/28] contrib/plugins: add a drcov plugin, Alex Bennée, 2022/02/09
- [PULL 01/28] tests/Makefile.include: clean-up old code, Alex Bennée, 2022/02/09
- [PULL 24/28] tests/plugins: add instruction matching to libinsn.so, Alex Bennée, 2022/02/09
- [PULL 09/28] tests/lcitool: Refresh submodule and remove libxml2, Alex Bennée, 2022/02/09
- [PULL 14/28] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too,
Alex Bennée <=
- [PULL 23/28] tests/plugin: allow libinsn.so per-CPU counts, Alex Bennée, 2022/02/09
- [PULL 03/28] Makefile: also remove .gcno files when cleaning, Alex Bennée, 2022/02/09
- [PULL 02/28] tests/qtest: enable more vhost-user tests by default, Alex Bennée, 2022/02/09
- [PULL 05/28] MAINTAINERS: Cover lcitool submodule with build test / automation, Alex Bennée, 2022/02/09
- [PULL 07/28] tests/lcitool: Include local qemu.yml when refreshing cirrus-ci files, Alex Bennée, 2022/02/09
- [PULL 04/28] .gitignore: add .gcov pattern, Alex Bennée, 2022/02/09
- [PULL 06/28] gitmodules: Correct libvirt-ci submodule URL, Alex Bennée, 2022/02/09
- [PULL 12/28] docs/devel: mention our .editorconfig, Alex Bennée, 2022/02/09
- [PULL 17/28] docs: remove references to TCG tracing, Alex Bennée, 2022/02/09
- [PULL 08/28] drop libxml2 checks since libxml is not actually used (for parallels), Alex Bennée, 2022/02/09