msi/tests: Delete the temp .msi file in all failure cases.
This commit is contained in:
parent
7f60584a90
commit
43fb0ecd07
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,6 @@ static BOOL delete_pf(const CHAR *rel_path, BOOL is_file)
|
|||
|
||||
static void delete_test_files(void)
|
||||
{
|
||||
DeleteFileA(msifile);
|
||||
DeleteFileA("msitest\\cabout\\new\\five.txt");
|
||||
DeleteFileA("msitest\\cabout\\four.txt");
|
||||
DeleteFileA("msitest\\second\\three.txt");
|
||||
|
@ -2691,6 +2690,7 @@ static void test_Installer(void)
|
|||
|
||||
/* Installer::InstallProduct and other tests that depend on our product being installed */
|
||||
test_Installer_InstallProduct();
|
||||
DeleteFileA(msifile);
|
||||
}
|
||||
|
||||
START_TEST(automation)
|
||||
|
|
Loading…
Add table
Reference in a new issue