tests/plugins/insn: made arg inline not positional and parse it as bool
commit0163ce31794b5debcf2527b8156a78dabc45b802
authorMahmoud Mandour <ma.mandourr@gmail.com>
Fri, 30 Jul 2021 13:58:14 +0000 (30 15:58 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 2 Sep 2021 10:29:34 +0000 (2 11:29 +0100)
treedcb27dc8c47f6a5e77ae22ecc490b327fb7ec1a6
parent30b95b44523dbe0f0a0ad2cd23232dbb0c1c6a69
tests/plugins/insn: made arg inline not positional and parse it as bool

Made argument "inline" not positional, this has two benefits. First is
that we adhere to how QEMU passes args generally, by taking the last
value of an argument and drop the others. And the second is that this
sets up a framework for potentially adding new args easily.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210730135817.17816-11-ma.mandourr@gmail.com>
[AJB: fix check-tcg tests calling arg=inline]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/plugin/insn.c
tests/tcg/i386/Makefile.softmmu-target
tests/tcg/i386/Makefile.target
tests/tcg/x86_64/Makefile.softmmu-target