Conversation
* Get test_compat.cc to delete compat.zip on termination.
| */ | ||
|
|
||
| TEST(compat, final) { | ||
| if (mz_os_file_exists("compat.zip") != MZ_OK) |
There was a problem hiding this comment.
What about just removing this file on the next time the tests are run, like where it is created, delete before checking?
There was a problem hiding this comment.
What about just removing this file on the next time the tests are run, like where it is created, delete before checking?
The point of deleting the file at the end is so that git doesn't see it as an untracked file, like the LICENSE.* files.
Other option is to just include it in .gitignore
|
Added Guards against people (like me) accidentally checked in if it ends up in |
.gitignore
Outdated
| LICENSE.enc.aes | ||
| LICENSE.enc.pkcrypt | ||
|
|
||
| # test/test_compat.cc can leave compat.zip handing around |
There was a problem hiding this comment.
I'm not a native speaker, but shouldn't it be "hanging"?
There was a problem hiding this comment.
I'm not a native speaker, but shouldn't it be "hanging"?
It should indeed!
Unfortunately I don't have any excuse :-)
Update .gitignore to include these license files
test_compat.ccdoesn't deletecompat.zipon completion - change gets the test harness to delete it.