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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user