Skip to content

Commit 5fa6665

Browse files
committed
[Frontend][Tests] Disable load-pass-plugin test for ASAN.
This test is buggy and fails under ASAN (which detects the bug). See #77771.
1 parent ad70dc8 commit 5fa6665

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Frontend/load-pass-plugin.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
// REQUIRES: OS=macosx
22

3+
// This test fails under ASAN because of an ODR violation (which is strictly
4+
// speaking a bug: https://github.com/swiftlang/swift/issues/77771). Disable
5+
// for ASAN until it's fixed.
6+
// UNSUPPORTED: asan
7+
38
// RUN: %target-swift-frontend -load-pass-plugin=nonexistent.dylib %s -emit-ir -o /dev/null 2>&1 | %FileCheck -check-prefix=CHECK-UNABLE-LOAD %s
49
// CHECK-UNABLE-LOAD: error: unable to load plugin 'nonexistent.dylib': 'Could not load library{{.*}}'
510

0 commit comments

Comments
 (0)