[libcxx-commits] [libcxx] 6455882 - [libc++] Remove broken self test for the libc++ Lit format

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 17 15:35:21 PDT 2023


Author: Louis Dionne
Date: 2023-07-17T18:35:10-04:00
New Revision: 64558826ed060eeeb22b92585c0c2a2a3461606c

URL: https://github.com/llvm/llvm-project/commit/64558826ed060eeeb22b92585c0c2a2a3461606c
DIFF: https://github.com/llvm/llvm-project/commit/64558826ed060eeeb22b92585c0c2a2a3461606c.diff

LOG: [libc++] Remove broken self test for the libc++ Lit format

The empty.sh.cpp test never tested what it was intended to test, because
it did contain an unexpected RUN: command. This was discovered in
https://reviews.llvm.org/D154987 while trying to land an unrelated change.
Since there is no reliable way to test what I was trying to test from
the libc++ test suite, just remove the test.

Added: 
    

Modified: 
    

Removed: 
    libcxx/test/libcxx/selftest/sh.cpp/empty.sh.cpp


################################################################################
diff  --git a/libcxx/test/libcxx/selftest/sh.cpp/empty.sh.cpp b/libcxx/test/libcxx/selftest/sh.cpp/empty.sh.cpp
deleted file mode 100644
index de97543319bc84..00000000000000
--- a/libcxx/test/libcxx/selftest/sh.cpp/empty.sh.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-// XFAIL: *
-
-// Make sure the test DOES NOT pass if it has no 'RUN:' steps


        


More information about the libcxx-commits mailing list