1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
// rdar://108082630 this test is flaky in ASAN bot
// UNSUPPORTED: asan
// RUN: %sourcekitd-test -req=track-compiles \
// RUN: == -req=sema %s -- %s \
// RUN: == -req=edit %s -replace="" | %FileCheck %s -check-prefix=COMPILE_1
// COMPILE_1: {
// COMPILE_1: key.notification: source.notification.compile-will-start,
// COMPILE_1: key.compileid: [[CID1:".*"]]
// COMPILE_1: }
// COMPILE_1: {
// COMPILE_1: key.notification: source.notification.compile-did-finish,
// COMPILE_1: key.compileid: [[CID1]]
// COMPILE_1: }
// COMPILE_1-NOT: compile-will-start
// COMPILE_1-NOT: compile-did-finish
// RUN: %sourcekitd-test -req=track-compiles \
// RUN: == -req=sema %s -- %s \
// RUN: == -req=edit %s -replace="asdf" \
// RUN: == -req=edit %s -replace="//" | %FileCheck %s -check-prefix=COMPILE_3
// COMPILE_3: {
// COMPILE_3: key.notification: source.notification.compile-will-start,
// COMPILE_3: key.compileid: [[CID1:".*"]]
// COMPILE_3: }
// COMPILE_3: {
// COMPILE_3: key.notification: source.notification.compile-did-finish,
// COMPILE_3: key.compileid: [[CID1]]
// COMPILE_3: }
// COMPILE_3: {
// COMPILE_3: key.notification: source.notification.compile-will-start,
// COMPILE_3: key.compileid: [[CID2:".*"]]
// COMPILE_3: }
// COMPILE_3: {
// COMPILE_3: key.notification: source.notification.compile-did-finish,
// COMPILE_3: key.compileid: [[CID2]]
// COMPILE_3: }
// COMPILE_3: {
// COMPILE_3: key.notification: source.notification.compile-will-start,
// COMPILE_3: key.compileid: [[CID3:".*"]]
// COMPILE_3: }
// COMPILE_3: {
// COMPILE_3: key.notification: source.notification.compile-did-finish,
// COMPILE_3: key.compileid: [[CID3]]
// COMPILE_3: }
// COMPILE_3-NOT: compile-will-start
// COMPILE_3-NOT: compile-did-finish
|