X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fsrc%2Fstandalone.c;h=7868cf24b9dba1898a756422c6518e606ea4f1ef;hb=2ccfaedef455b54f53d9da0936f1a0539d22bfd4;hp=88b6a2854d85725b8018c6f39f61daca7617feb5;hpb=6c1bfaa0cdc1ff0d3f4cec54d6a222023a63301f;p=gedcom-parse.git diff --git a/t/src/standalone.c b/t/src/standalone.c index 88b6a28..7868cf2 100644 --- a/t/src/standalone.c +++ b/t/src/standalone.c @@ -30,9 +30,9 @@ #include #include #include -#include "utf8-locale.h" +#include "utf8.h" -#define BOGUS_FILE_NAME "Makefile.am" +#define BOGUS_FILE_NAME "bogus.ged" int total_conv_fails = 0; void show_help () @@ -49,7 +49,7 @@ void show_help () printf(" -da Debug setting: libgedcom + yacc debug messages\n"); printf(" -2 Run the test parse 2 times instead of once\n"); printf(" -3 Run the test parse 3 times instead of once\n"); - printf(" -b Parse a bogus file before parsing the main file\n"); + printf(" -b Parse a bogus file (bogus.ged) before parsing the main file\n"); printf(" -q No output to standard output\n"); printf(" -o File to generate output to (def. testgedcom.out)\n"); } @@ -310,7 +310,7 @@ int main(int argc, char* argv[]) gedcom_parse_file(BOGUS_FILE_NAME); } while (run_times-- > 0) { - output(0, "\n=== Parsing file %s\n", file_name); + output(0, "\n=== Parsing file %s\n", simple_base_name(file_name)); result |= gedcom_parse_file(file_name); output(0, "\n=== Total conversion failures: %d\n", total_conv_fails); }