aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-12-09 14:38:18 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-12-09 14:38:18 +0000
commit28db503fd7a750861aa4381653800d4eb28b5426 (patch)
tree585e3a258699ab4c1fb4d5cb324b9b796e420252 /tests
parentc923a30481baf87f631659085f94cd6000116192 (diff)
parentb0bed2c916286326b248da05b2ca5f6d152aba44 (diff)
Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2020-12-09' into staging
* Gitlab-CI improvement patches by Philippe * Some small fixes for tests * Fix coverity warning in the mcf5206 code # gpg: Signature made Wed 09 Dec 2020 07:13:12 GMT # gpg: using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5 # gpg: issuer "thuth@redhat.com" # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full] # gpg: aka "Thomas Huth <thuth@redhat.com>" [full] # gpg: aka "Thomas Huth <huth@tuxfamily.org>" [full] # gpg: aka "Thomas Huth <th.huth@posteo.de>" [unknown] # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3 EAB9 2ED9 D774 FE70 2DB5 * remotes/huth-gitlab/tags/pull-request-2020-12-09: hw/m68k/mcf5206: Don't leak IRQs in mcf5206_mbar_realize() gitlab-ci: Move coroutine tests across to gitlab gitlab-ci: Move user-static test across to gitlab gitlab-ci: Update 'build-disabled' to cover all configurable options gitlab-ci: Split CONFIGURE_ARGS one argument per line for build-disabled fuzz: avoid double-fetches by default tests/qtest/fuzz-test: Quit test_lp1878642 once done test-qga: fix a resource leak in test_qga_guest_get_osinfo() gitlab-ci: Add Xen cross-build jobs gitlab-ci: Add KVM s390x cross-build jobs gitlab-ci: Introduce 'cross_accel_build_job' template gitlab-ci: Replace YAML anchors by extends (cross_system_build_job) gitlab-ci: Document 'build-tcg-disabled' is a KVM X86 job Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtest/fuzz-test.c1
-rw-r--r--tests/qtest/fuzz/generic_fuzz.c1
-rw-r--r--tests/test-qga.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/qtest/fuzz-test.c b/tests/qtest/fuzz-test.c
index 9cb4c42bde..87b72307a5 100644
--- a/tests/qtest/fuzz-test.c
+++ b/tests/qtest/fuzz-test.c
@@ -45,6 +45,7 @@ static void test_lp1878642_pci_bus_get_irq_level_assert(void)
qtest_outl(s, 0xcf8, 0x8400f841);
qtest_outl(s, 0xcfc, 0xebed205d);
qtest_outl(s, 0x5d02, 0xebed205d);
+ qtest_quit(s);
}
int main(int argc, char **argv)
diff --git a/tests/qtest/fuzz/generic_fuzz.c b/tests/qtest/fuzz/generic_fuzz.c
index 262a963d2e..07ad690683 100644
--- a/tests/qtest/fuzz/generic_fuzz.c
+++ b/tests/qtest/fuzz/generic_fuzz.c
@@ -916,6 +916,7 @@ static GString *generic_fuzz_predefined_config_cmdline(FuzzTarget *t)
g_assert(t->opaque);
config = t->opaque;
+ setenv("QEMU_AVOID_DOUBLE_FETCH", "1", 1);
setenv("QEMU_FUZZ_ARGS", config->args, 1);
setenv("QEMU_FUZZ_OBJECTS", config->objects, 1);
return generic_fuzz_cmdline(t);
diff --git a/tests/test-qga.c b/tests/test-qga.c
index c1b173b3cb..eb33264e8e 100644
--- a/tests/test-qga.c
+++ b/tests/test-qga.c
@@ -111,6 +111,7 @@ fixture_tear_down(TestFixture *fixture, gconstpointer data)
g_rmdir(fixture->test_dir);
g_free(fixture->test_dir);
+ close(fixture->fd);
}
static void qmp_assertion_message_error(const char *domain,