aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-02 19:00:16 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-03 15:49:32 -0600
commitb673734cce44dd28c1d4d1810da3069324466166 (patch)
treeada7f6d994a1dbcf09e8b30b95f7b2c403a0a7f6 /src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs
parent643a5c5db1da6fb68fdc353bbbdbecaa1964425e (diff)
downloadwix-b673734cce44dd28c1d4d1810da3069324466166.tar.gz
wix-b673734cce44dd28c1d4d1810da3069324466166.tar.bz2
wix-b673734cce44dd28c1d4d1810da3069324466166.zip
Implement command line for SuppressAllWarnings and WarningsAsError.
Make WixRunner.Execute default to setting WarningsAsError to make sure tests are not accidentally causing warnings.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs
index 5a29eb9e..7ec0ea93 100644
--- a/src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/MsiTransactionFixture.cs
@@ -26,6 +26,7 @@ namespace WixToolsetTest.CoreIntegration
26 var result = WixRunner.Execute(new[] 26 var result = WixRunner.Execute(new[]
27 { 27 {
28 "build", 28 "build",
29 "-sw1151", // this is expected for this test
29 Path.Combine(folder, "MsiTransaction", "X64AfterX86Bundle.wxs"), 30 Path.Combine(folder, "MsiTransaction", "X64AfterX86Bundle.wxs"),
30 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), 31 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"),
31 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), 32 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"),
@@ -55,6 +56,7 @@ namespace WixToolsetTest.CoreIntegration
55 var result = WixRunner.Execute(new[] 56 var result = WixRunner.Execute(new[]
56 { 57 {
57 "build", 58 "build",
59 "-sw1151", // this is expected for this test
58 Path.Combine(folder, "MsiTransaction", "X86AfterX64Bundle.wxs"), 60 Path.Combine(folder, "MsiTransaction", "X86AfterX64Bundle.wxs"),
59 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), 61 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"),
60 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), 62 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"),