Index: test/Modules/signal-on-windows.m =================================================================== --- /dev/null +++ test/Modules/signal-on-windows.m @@ -0,0 +1,11 @@ +// REQUIRES: crash-recovery && system-windows +// RUN: rm -rf %t + +// Crash building module. +// RUN: not --crash %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs %s + +// On windows we always completely delete the lock +// RUN: find %t -name "crash-*.pcm.lock" | count 0 +// RUN: find %t -name "crash-*.pcm.lock-*" | count 0 + +@import crash; Index: test/Modules/signal.m =================================================================== --- test/Modules/signal.m +++ test/Modules/signal.m @@ -1,10 +1,10 @@ -// REQUIRES: crash-recovery +// REQUIRES: crash-recovery && !system-windows // RUN: rm -rf %t // Crash building module. // RUN: not --crash %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs %s -// The dead symlink is still around, but the underlying lock file is gone. +// The dead lock is still around, but the temp file file is gone. // RUN: find %t -name "crash-*.pcm.lock" | count 1 // RUN: find %t -name "crash-*.pcm.lock-*" | count 0