aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2012-05-28 03:18:31 +0200
committerAndreas Färber <afaerber@suse.de>2012-05-29 11:40:27 +0200
commit60b46aa2f3d40457d6f722cc79e3dbacd04b492f (patch)
treef1e8c69c7d2a8d9c7e3986809c0aa53dc4968566 /ui
parentf283edc4827f6bfa82240e36433d7184ab106b0f (diff)
downloadqemu-60b46aa2f3d40457d6f722cc79e3dbacd04b492f.zip
qemu-60b46aa2f3d40457d6f722cc79e3dbacd04b492f.tar.gz
qemu-60b46aa2f3d40457d6f722cc79e3dbacd04b492f.tar.bz2
cocoa: Suppress Cocoa frontend for -qtest
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Diffstat (limited to 'ui')
-rw-r--r--ui/cocoa.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index e7d6e89..2383646 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -879,7 +879,8 @@ int main (int argc, const char * argv[]) {
!strcmp(opt, "-vnc") ||
!strcmp(opt, "-nographic") ||
!strcmp(opt, "-version") ||
- !strcmp(opt, "-curses")) {
+ !strcmp(opt, "-curses") ||
+ !strcmp(opt, "-qtest")) {
return qemu_main(gArgc, gArgv, *_NSGetEnviron());
}
}