tests: add TAP version line

Otherwise new versions of "meson test" will report a warning about every test.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
This commit is contained in:
Thomas Weißschuh 2023-01-09 21:38:06 +00:00 committed by Daniel Stone
parent 75b3ecfcc3
commit ec27b2a1d3

View File

@ -662,6 +662,7 @@ main(int argc, char *argv[])
fi_end = fi + 1;
}
printf("TAP version 13\n");
tap_plan(&harness->data, fi_end - fi);
testlog("Iterating through %d fixtures.\n", fi_end - fi);