1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -05:00

Build various unit-test main() programs in utils.

I found these while going through the code, and decided if we're going
to have them then we should compile them. They didn't all compile
first time, proving my point :-)

I've enhanced the tree234 test so that it has a verbose option, which
by default is off.
This commit is contained in:
Simon Tatham
2021-04-17 16:39:31 +01:00
parent 395c228bee
commit 1c61fdf800
6 changed files with 98 additions and 45 deletions

View File

@ -344,7 +344,7 @@ bool wc_unescape(char *output, const char *wildcard)
return true; /* it's clean */
}
#ifdef TESTMODE
#ifdef TEST
struct test {
const char *wildcard;
@ -483,4 +483,4 @@ int main(void)
return 0;
}
#endif
#endif /* TEST */