]> git.proxmox.com Git - qemu-server.git/blobdiff - test/run_qemu_migrate_tests.pl
tests: avoid calling test script to get target names
[qemu-server.git] / test / run_qemu_migrate_tests.pl
index bbba5f9772d6e6172116e08ff084f5f87af736b9..090449f3f56f51d08f7e6bd76e426d6c652635ff 100755 (executable)
@@ -418,8 +418,9 @@ sub local_volids_for_vm {
 
 my $tests = [
 # each test consists of the following:
-# name           - unique name for the test which also serves as a dir name and
-#                  gets passed to make, so don't use whitespace or slash
+# name           - unique name for the test which also serves as a dir name.
+#                  NOTE: gets passed to make, so don't use whitespace or slash
+#                        and adapt buildsys (regex) on code structure changes
 # target         - hostname of target node
 # vmid           - ID of the VM to migrate
 # opts           - options for the migrate() call
@@ -1531,12 +1532,6 @@ my $tests = [
 
 my $single_test_name = shift;
 
-if (defined($single_test_name) && $single_test_name eq 'DUMP_NAMES') {
-    my $output = join(' ', map { $_->{name} } $tests->@*);
-    print "$output\n";
-    exit 0;
-}
-
 mkdir $RUN_DIR_PATH;
 
 foreach my $test (@{$tests}) {