diff --git a/.gitignore b/.gitignore index 6f1d3959..6590057e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,12 @@ third_party/ # IDE .vscode + +# License files +LICENSE.dec.aes +LICENSE.dec.pkcrypt +LICENSE.enc.aes +LICENSE.enc.pkcrypt + +# test/test_compat.cc can leave compat.zip hanging around +compat.zip \ No newline at end of file diff --git a/test/test_compat.cc b/test/test_compat.cc index 10e777a4..1290b363 100644 --- a/test/test_compat.cc +++ b/test/test_compat.cc @@ -289,4 +289,13 @@ TEST(compat, unzip64) { test_unzip_compat(unzip); unzClose(unzip); } + +/* Keep this dummy test last in this file. + It's purpose is to delete "compat.zip" after all other tests have run. +*/ + +TEST(compat, final) { + if (mz_os_file_exists("compat.zip") != MZ_OK) + mz_os_unlink("compat.zip"); +} #endif