]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qerror: add check-qerror.sh to verify alphabetical order
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 4 Jan 2012 22:23:32 +0000 (22:23 +0000)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 18 Jan 2012 12:23:39 +0000 (10:23 -0200)
commit9737383beb515a583fdb6f2aafa631fcd6797068
tree4df78bd780f52f27adf156e11aff578177c95833
parentaba2107a2649f3eeab4422efa17dbd06929abccd
qerror: add check-qerror.sh to verify alphabetical order

We're supposed to keep qerror definitions and table entries in
alphabetical order.  In practice this is not checked.

I haven't found a nice way to integrate this into the makefile yet but
we can at least have this script which verifies that qerrors are in
alphabetical order.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qerror.c
qerror.h
scripts/check-qerror.sh [new file with mode: 0755]