mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Remove backslash alignment attempts
Right-aligning backslashes when defining macros or using complex
commands in Makefiles looks cute, but as soon as any changes is
required to the code you end up with either distractingly broken
alignment or unnecessarily big diffs where most of the changes
are just pushing all backslashes a few characters to one side.
Generated using
$ git grep -El '[[:blank:]][[:blank:]]\\$' | \
grep -E '*\.([chx]|am|mk)$$' | \
while read f; do \
sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
done
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
@@ -134,29 +134,29 @@ mymain(void)
|
||||
NULL, NULL, NULL)) == NULL)
|
||||
return EXIT_FAILURE;
|
||||
|
||||
# define DO_TEST_FULL(name, flags) \
|
||||
do { \
|
||||
static struct testInfo info = { \
|
||||
name, (flags) \
|
||||
}; \
|
||||
if (virTestRun("BHYVE ARGV-2-XML " name, \
|
||||
# define DO_TEST_FULL(name, flags) \
|
||||
do { \
|
||||
static struct testInfo info = { \
|
||||
name, (flags) \
|
||||
}; \
|
||||
if (virTestRun("BHYVE ARGV-2-XML " name, \
|
||||
testCompareXMLToArgvHelper, &info) < 0) \
|
||||
ret = -1; \
|
||||
ret = -1; \
|
||||
} while (0)
|
||||
|
||||
# define DO_TEST(name) \
|
||||
# define DO_TEST(name) \
|
||||
DO_TEST_FULL(name, 0)
|
||||
|
||||
# define DO_TEST_FAIL(name) \
|
||||
# define DO_TEST_FAIL(name) \
|
||||
DO_TEST_FULL(name, 5)
|
||||
|
||||
# define DO_TEST_WARN(name) \
|
||||
# define DO_TEST_WARN(name) \
|
||||
DO_TEST_FULL(name, 4)
|
||||
|
||||
# define DO_TEST_FAIL_SILENT(name) \
|
||||
# define DO_TEST_FAIL_SILENT(name) \
|
||||
DO_TEST_FULL(name, 1)
|
||||
|
||||
# define DO_TEST_PARSE_ERROR(name) \
|
||||
# define DO_TEST_PARSE_ERROR(name) \
|
||||
DO_TEST_FULL(name, 2)
|
||||
|
||||
driver.grubcaps = BHYVE_GRUB_CAP_CONSDEV;
|
||||
|
||||
Reference in New Issue
Block a user