[libvirt PATCH 14/29] cpu-gather: Delete old script

Tim Wiederhake twiederh at redhat.com
Tue Dec 15 16:25:00 UTC 2020


Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
---
 tests/cputestdata/cpu-gather.py | 5 -----
 tests/cputestdata/cpu-gather.sh | 6 ------
 2 files changed, 11 deletions(-)
 delete mode 100755 tests/cputestdata/cpu-gather.sh

diff --git a/tests/cputestdata/cpu-gather.py b/tests/cputestdata/cpu-gather.py
index c639c433d2..9c609aa6e9 100755
--- a/tests/cputestdata/cpu-gather.py
+++ b/tests/cputestdata/cpu-gather.py
@@ -232,11 +232,6 @@ def main():
     for o in model:
         print(json.dumps(o))
 
-    print(end="", flush=True)
-    os.environ["CPU_GATHER_PY"] = "true"
-    os.environ["qemu"] = args.path_to_qemu
-    subprocess.check_call("./cpu-gather.sh")
-
 
 if __name__ == "__main__":
     main()
diff --git a/tests/cputestdata/cpu-gather.sh b/tests/cputestdata/cpu-gather.sh
deleted file mode 100755
index 5cef26c8e6..0000000000
--- a/tests/cputestdata/cpu-gather.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-if [ -z "${CPU_GATHER_PY}" ]; then
-    echo >&2 "Do not call this script directly. Use 'cpu-gather.py' instead."
-    exit 1
-fi
-- 
2.26.2




More information about the libvir-list mailing list