From ddc359af69fb9d04748f77bae946af8566aac72c Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 7 Apr 2020 10:44:37 +1000 Subject: Fix clean test, since the Common Clean target isn't actually supposed to delete everything. --- src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs b/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs index c52bb22d..bcf4862b 100644 --- a/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs +++ b/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs @@ -252,8 +252,11 @@ namespace WixToolsetTest.BuildTasks var cleanOutput = String.Join("\r\n", result.Output); + // Clean is only expected to delete the files listed in {Project}.FileListAbsolute.txt, + // so this is not quite right but close enough. var remainingPaths = Directory.EnumerateFiles(baseFolder, @"*.*", SearchOption.AllDirectories) .Select(s => s.Substring(baseFolder.Length + 1)) + .Where(s => s != "obj\\MsiPackage.wixproj.FileListAbsolute.txt") .OrderBy(s => s) .ToArray(); Assert.Empty(remainingPaths); -- cgit v1.2.3-55-g6feb