[clang] 53d8b59 - Fix the two gmoules-prefered-name-* tests

YongKang Zhu via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 7 00:12:48 PDT 2023


Author: YongKang Zhu
Date: 2023-04-07T00:12:29-07:00
New Revision: 53d8b59307d4e1bbaa1632efbe762014c9f6575e

URL: https://github.com/llvm/llvm-project/commit/53d8b59307d4e1bbaa1632efbe762014c9f6575e
DIFF: https://github.com/llvm/llvm-project/commit/53d8b59307d4e1bbaa1632efbe762014c9f6575e.diff

LOG: Fix the two gmoules-prefered-name-* tests

Add missing "REQUIRES: asserts" for the two tests added in commit
711a64412749ae73709562b591ab1609a3ee7751 (Diff: D145803).

Reviewed By: chapuni

Differential Revision: https://reviews.llvm.org/D147764

Added: 
    

Modified: 
    clang/test/Modules/gmodules-preferred-name-alias.cpp
    clang/test/Modules/gmodules-preferred-name-typedef.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Modules/gmodules-preferred-name-alias.cpp b/clang/test/Modules/gmodules-preferred-name-alias.cpp
index 4eba07c7d2594..687125c86e9fb 100644
--- a/clang/test/Modules/gmodules-preferred-name-alias.cpp
+++ b/clang/test/Modules/gmodules-preferred-name-alias.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -std=c++11 -dwarf-ext-refs -fmodule-format=obj \
 // RUN:     -fmodule-map-file=%S/Inputs/gmodules-preferred-name-alias.modulemap \

diff  --git a/clang/test/Modules/gmodules-preferred-name-typedef.cpp b/clang/test/Modules/gmodules-preferred-name-typedef.cpp
index e4738089d9893..e6a8f3ef4c68e 100644
--- a/clang/test/Modules/gmodules-preferred-name-typedef.cpp
+++ b/clang/test/Modules/gmodules-preferred-name-typedef.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -std=c++11 -dwarf-ext-refs -fmodule-format=obj \
 // RUN:     -fmodule-map-file=%S/Inputs/gmodules-preferred-name-typedef.modulemap \


        


More information about the cfe-commits mailing list