[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/6] tests/tcg: Add and update Makefiles
From: |
Max Filippov |
Subject: |
Re: [Qemu-devel] [PATCH 5/6] tests/tcg: Add and update Makefiles |
Date: |
Fri, 23 Sep 2016 11:25:17 -0700 |
Hello,
On Sat, Sep 17, 2016 at 7:03 AM, Pranith Kumar <address@hidden> wrote:
[...]
> diff --git a/tests/tcg/xtensa/Makefile b/tests/tcg/xtensa/Makefile
> index 522a63e..e3269ed 100644
> --- a/tests/tcg/xtensa/Makefile
> +++ b/tests/tcg/xtensa/Makefile
> @@ -1,10 +1,23 @@
> --include ../../../config-host.mak
> +# -*- Mode: makefile -*-
> +#
> +# xtensa linux TCG tests
These are system tests, not linux tests.
> +#
> +# The Make is expected to be called in the
> +# ${BUILD_DIR}/xtensa-softmmu/tests directory
There's no such directory under the BUILD_DIR.
If I create it and then try to run tests as
make -C xtensa-softmmu/tests -f ../../tests/tcg/xtensa/Makefile
it fails with the following error:
make: Entering directory 'build-xtensa-tcg-tests/xtensa-softmmu/tests'
make: *** No rule to make target 'test_b.tst', needed by 'build'. Stop.
> +#
> +
> +BUILD_DIR=../..
> +include $(BUILD_DIR)/config-host.mak # brings in SRC_PATH
> +include ../config-target.mak # TARGET_NAME
> +include $(SRC_PATH)/rules.mak
> +
> +$(call set-vpath, $(SRC_PATH)/tests/tcg/xtensa)
>
> CORE=dc232b
> CROSS=xtensa-$(CORE)-elf-
>
> ifndef XT
> -SIM = ../../../xtensa-softmmu/qemu-system-xtensa
> +SIM = $(BUILD_DIR)/xtensa-softmmu/qemu-system-xtensa
> SIMFLAGS = -M sim -cpu $(CORE) -nographic -semihosting $(EXTFLAGS) -kernel
> SIMDEBUG = -s -S
> else
--
Thanks.
-- Max
- [Qemu-devel] [PATCH v3 0/6] Clean up TCG tests, Pranith Kumar, 2016/09/17
- [Qemu-devel] [PATCH 1/6] tests/tcg: Move i386 tests to arch specific folder, Pranith Kumar, 2016/09/17
- [Qemu-devel] [PATCH 3/6] tests/tcg: Move mips test to arch specific folder, Pranith Kumar, 2016/09/17
- [Qemu-devel] [PATCH 4/6] tests/tcg: Create and populate misc tests for arch independent tests, Pranith Kumar, 2016/09/17
- [Qemu-devel] [PATCH 2/6] tests/tcg: Move arm tests to arch specific folder, Pranith Kumar, 2016/09/17
- [Qemu-devel] [PATCH 5/6] tests/tcg: Add and update Makefiles, Pranith Kumar, 2016/09/17
- Re: [Qemu-devel] [PATCH 5/6] tests/tcg: Add and update Makefiles,
Max Filippov <=
- [Qemu-devel] [PATCH 6/6] tests/tcg: Add tests-tcg hook in Makefile, Pranith Kumar, 2016/09/17
- Re: [Qemu-devel] [PATCH v3 0/6] Clean up TCG tests, Marc-André Lureau, 2016/09/19