]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
tests/qemu-iotests/check: Allow tests without groups
authorThomas Huth <thuth@redhat.com>
Wed, 17 Jul 2019 11:19:44 +0000 (13:19 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 23 Jul 2019 14:53:25 +0000 (15:53 +0100)
commitbf75d752759d5d8a39fe4aa6a0d90c42bab0bd5b
tree5b4e2657cbd499e4c9abb612d1820587a774112e
parent2b0c4fa13f3dd31162582f3bcab635c9026cafac
tests/qemu-iotests/check: Allow tests without groups

The regular expressions in the "check" script currently expect that there
is always a space after the test number in the group file, so you can't
have a test in there without a group unless the line still ends with a
space - which is quite error prone since some editors might remove spaces
at the end of lines automatically.
Thus let's fix the regular expressions so that it is also possible to
have lines with one test number only in the group file.

Suggested-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190717111947.30356-2-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/qemu-iotests/check