[clang] b1ac375 - [NFC] Only run clang/test/Driver/module-output.cppm on x86 registered targets
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 15 21:49:54 PST 2023
Author: Chuanqi Xu
Date: 2023-01-16T13:49:37+08:00
New Revision: b1ac375e11c801be2a1e07e87be91ae54decf2eb
URL: https://github.com/llvm/llvm-project/commit/b1ac375e11c801be2a1e07e87be91ae54decf2eb
DIFF: https://github.com/llvm/llvm-project/commit/b1ac375e11c801be2a1e07e87be91ae54decf2eb.diff
LOG: [NFC] Only run clang/test/Driver/module-output.cppm on x86 registered targets
On other targets (like ppc64-aix), the default output for `-c` may be `.s` instead of `.o`,
which makes the test failing. The patch require the test only run on
x86 registered targets to avoid the problem.
Added:
Modified:
clang/test/Driver/module-output.cppm
Removed:
################################################################################
diff --git a/clang/test/Driver/module-output.cppm b/clang/test/Driver/module-output.cppm
index d3d707061251..7d566f4eda63 100644
--- a/clang/test/Driver/module-output.cppm
+++ b/clang/test/Driver/module-output.cppm
@@ -2,6 +2,7 @@
// in Windows and Linux. So we disable the test on Windows
// here.
// REQUIRES: !system-windows
+// REQUIRES: x86-registered-target
//
// RUN: rm -rf %t
// RUN: mkdir %t
More information about the cfe-commits
mailing list