diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-07 10:44:37 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-07 20:31:29 +1000 |
commit | ddc359af69fb9d04748f77bae946af8566aac72c (patch) | |
tree | a01f68e8fc932fefeb62b04194f92bc20fd11d23 /src | |
parent | 7b169ae5fe094fe9fc1bc152654361edfa766f47 (diff) | |
download | wix-ddc359af69fb9d04748f77bae946af8566aac72c.tar.gz wix-ddc359af69fb9d04748f77bae946af8566aac72c.tar.bz2 wix-ddc359af69fb9d04748f77bae946af8566aac72c.zip |
Fix clean test, since the Common Clean target isn't actually supposed to delete everything.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
252 | 252 | ||
253 | var cleanOutput = String.Join("\r\n", result.Output); | 253 | var cleanOutput = String.Join("\r\n", result.Output); |
254 | 254 | ||
255 | // Clean is only expected to delete the files listed in {Project}.FileListAbsolute.txt, | ||
256 | // so this is not quite right but close enough. | ||
255 | var remainingPaths = Directory.EnumerateFiles(baseFolder, @"*.*", SearchOption.AllDirectories) | 257 | var remainingPaths = Directory.EnumerateFiles(baseFolder, @"*.*", SearchOption.AllDirectories) |
256 | .Select(s => s.Substring(baseFolder.Length + 1)) | 258 | .Select(s => s.Substring(baseFolder.Length + 1)) |
259 | .Where(s => s != "obj\\MsiPackage.wixproj.FileListAbsolute.txt") | ||
257 | .OrderBy(s => s) | 260 | .OrderBy(s => s) |
258 | .ToArray(); | 261 | .ToArray(); |
259 | Assert.Empty(remainingPaths); | 262 | Assert.Empty(remainingPaths); |