]> Git Repo - qemu.git/commit
test-qdev-global-props: Run tests on subprocess
authorEduardo Habkost <[email protected]>
Fri, 8 Aug 2014 19:03:27 +0000 (16:03 -0300)
committerMichael S. Tsirkin <[email protected]>
Thu, 18 Sep 2014 18:51:24 +0000 (21:51 +0300)
commit2177801a4899bf29108b3d471417a5b4d701ec29
treec2e897da5bc97a618df17247c1b24d40716c769e
parent9d41401b90fa10b335d2e739149d36437cfbf622
test-qdev-global-props: Run tests on subprocess

There are multiple reasons for running the global property tests on a
subprocess:

* We need the global_props lists to be empty for each test case, so
  global properties from the previous test won't affect the next one;
* We don't want the qdev_prop_check_global() warnings to pollute test
  output;
* With a subprocess, we can ensure qdev_prop_check_global() is printing
  the warning messages it should.

Signed-off-by: Eduardo Habkost <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
tests/test-qdev-global-props.c
This page took 0.026902 seconds and 4 git commands to generate.