rebuild-expected-aml.sh: remind about the process

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>
This commit is contained in:
Michael S. Tsirkin 2020-01-22 03:02:43 -05:00
parent 34b1429ca9
commit 6ab425d8a1
1 changed files with 7 additions and 0 deletions

View File

@ -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