You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ModuleVerifier: Add blocklist for builtin module verifier
The first change refactors the clang-based caching blocklist a bit to more easily support extending it. The second change leverages this to add a blocklist for the built-in module verifier. This is to stage in turning this on by default against preexisting verification violations.
tryawait tester.fs.writeFileContents(SRCROOT.join(inputFile)){ stream in
712
+
stream <<<""
713
+
}
714
+
}
715
+
tryawait tester.fs.writeFileContents(blockListFilePath){ file in
716
+
file <<<
717
+
"""
718
+
{ "KnownFailures": ["aProject"]}
719
+
"""
720
+
}
721
+
/// Verify that while the project has enabled `MODULE_VERIFIER_KIND=builtin` the external module verifier is invoked because the project is on the blocklist.
722
+
tryawait tester.checkBuild(runDestination:.macOS){ results in
723
+
results.checkNoDiagnostics()
724
+
results.checkTask(.matchRuleType("VerifyModule")){ task in
0 commit comments