]> git.proxmox.com Git - mirror_qemu.git/commitdiff
rebuild-expected-aml.sh: remind about the process
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 22 Jan 2020 08:02:43 +0000 (03:02 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Feb 2020 13:23:18 +0000 (08:23 -0500)
Remind users of rebuild-expected-aml.sh about the process
to follow. Suppress the warning if allowed file list exists -
that's a big hint user is already aware of the process.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/data/acpi/rebuild-expected-aml.sh

index d44e511533b1bd02e1c7e8c7202780856078c672..9cbaab1a4d335fb4eaeee6c30fc39bc56fa9b4dd 100755 (executable)
@@ -31,6 +31,13 @@ done
 
 eval `grep SRC_PATH= config-host.mak`
 
+old_allowed_dif=`grep -v -e 'List of comma-separated changed AML files to ignore' ${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.h`
+
 echo '/* List of comma-separated changed AML files to ignore */' > ${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.h
 
 echo "The files were rebuilt and can be added to git."
+
+if [ -z "$old_allowed_dif" ]; then
+    echo "Note! Please do not commit expected files with source changes"
+    echo "Note! Please follow the process documented in ${SRC_PATH}/tests/qtest/bios-tables-test.c"
+fi