[compiler-rt] [test] Mark a windows specific test as requiring an MSVC like environment
authorMartin Storsjö <martin@martin.st>
Tue, 11 Jul 2023 21:09:42 +0000 (00:09 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 11 Jul 2023 21:11:47 +0000 (00:11 +0300)
This test relies on MSVC style linking details, such as -Wl,-dll
(which could be expressed with just "-shared", which would work
with MinGW too) and an implicitly created import library named
"<basename>.lib" (which isn't created when linking in MinGW mode).

This fixes running the compiler-rt tests in MinGW environments.

compiler-rt/test/profile/ContinuousSyncMode/online-merging-windows.c

index 542663f..bd1eb07 100644 (file)
@@ -1,4 +1,4 @@
-// REQUIRES: windows
+// REQUIRES: target={{.*windows-msvc.*}}
 
 // Test the online merging mode (%m) along with continuous mode (%c).
 //