]> xenbits.xensource.com Git - libvirt.git/commitdiff
cpu_map: Suggest better command for updating test data files
authorJiri Denemark <jdenemar@redhat.com>
Thu, 7 Jan 2021 18:48:51 +0000 (19:48 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 8 Jan 2021 10:00:45 +0000 (11:00 +0100)
cpu-cpuid.py was merged into cpu-gather.py and the script can handle
multiple files so there's no need for a loop around it.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/cpu_map/x86_features.xml

index 4836595a8ced12620d651d4ce9e4fd6abcc23356..01a777e0e8502894eb368bb61672faddd7bb1729 100644 (file)
@@ -1,9 +1,8 @@
 <!--
   After adding new features, update existing test files with
 
-    for json in tests/cputestdata/x86_64-cpuid-*.json; do
-      tests/cputestdata/cpu-cpuid.py diff $json
-    done
+    tests/cputestdata/cpu-gather.py diff tests/cputestdata/x86_64-cpuid-*.json
+
 -->
 <cpus>
   <!-- standard features, EDX -->