r317716 - Add a missing "REQUIRES: system-windows" to a Windows-only test.

David L. Jones via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 12:03:11 PST 2017


Author: dlj
Date: Wed Nov  8 12:03:11 2017
New Revision: 317716

URL: http://llvm.org/viewvc/llvm-project?rev=317716&view=rev
Log:
Add a missing "REQUIRES: system-windows" to a Windows-only test.

This un-breaks builds on other platforms. Otherwise, they fail due to warnings like:

warning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found]

Modified:
    cfe/trunk/test/Driver/coverage.c

Modified: cfe/trunk/test/Driver/coverage.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/coverage.c?rev=317716&r1=317715&r2=317716&view=diff
==============================================================================
--- cfe/trunk/test/Driver/coverage.c (original)
+++ cfe/trunk/test/Driver/coverage.c Wed Nov  8 12:03:11 2017
@@ -1,4 +1,5 @@
 // Test coverage flag.
+// REQUIRES: system-windows
 //
 // RUN: %clang_cl -### -coverage %s -o foo/bar.o 2>&1 | FileCheck -check-prefix=CLANG-CL-COVERAGE %s
 // CLANG-CL-COVERAGE-NOT: error:




More information about the cfe-commits mailing list