]> Git Repo - qemu.git/blobdiff - tests/vm/basevm.py
tests/vm: add --build-target option
[qemu.git] / tests / vm / basevm.py
index 5caf77d6b8af4d1ac6a8f498503a9ac5f6510f31..bdca6cb2fc5677cea3c37cd9f2ec30a07f17d178 100755 (executable)
@@ -228,6 +228,8 @@ def parse_args(vmcls):
                       help="build image")
     parser.add_option("--build-qemu",
                       help="build QEMU from source in guest")
+    parser.add_option("--build-target",
+                      help="QEMU build target", default="check")
     parser.add_option("--interactive", "-I", action="store_true",
                       help="Interactively run command")
     parser.add_option("--snapshot", "-s", action="store_true",
@@ -255,6 +257,7 @@ def main(vmcls):
             cmd = [vm.BUILD_SCRIPT.format(
                    configure_opts = " ".join(argv),
                    jobs=args.jobs,
+                   target=args.build_target,
                    verbose = "V=1" if args.verbose else "")]
         else:
             cmd = argv
This page took 0.025569 seconds and 4 git commands to generate.