]> git.proxmox.com Git - mirror_qemu.git/commit
tests/tcg: provide a minilib for system tests
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 5 Mar 2019 11:40:31 +0000 (11:40 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Mar 2019 17:05:21 +0000 (17:05 +0000)
commita113ec989b74acf6a8eac68bbe41aab141d0235c
tree672d32e72dca462ad9710f899ad33ae3bc6fe8b7
parentd72132c02ebabf0c17986da865e3b15ba4dae1f5
tests/tcg: provide a minilib for system tests

We will likely want a few common functions to make up for the fact we
don't have a libc and we don't want to feel like we are programming by
banging rocks together.

I've purloined the printf function from:

  https://git.virtualopensystems.com/dev/tcg_baremetal_tests

Although I have tweaked the names to avoid confusing GCC about clashing
with builtins.

Cc: Alexander Spyridakis <a.spyridakis@virtualopensystems.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/tcg/Makefile
tests/tcg/minilib/Makefile.target [new file with mode: 0644]
tests/tcg/minilib/minilib.h [new file with mode: 0644]
tests/tcg/minilib/printf.c [new file with mode: 0644]