llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-systemz

@llvm/pr-subscribers-clang

Author: Abhina Sree (abhina-sree)

<details>
<summary>Changes</summary>

This patch is to fix the error seen here:


```
******************** TEST 'Clang :: CodeGen/SystemZ/systemz-module.flags.c' 
FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/24/include 
-nostdsysteminc -source-date-epoch 253402300799 -triple s390x-ibm-zos 
-emit-llvm -o - 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/SystemZ/systemz-module.flags.c
 | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/SystemZ/systemz-module.flags.c
# executed command: 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/24/include 
-nostdsysteminc -source-date-epoch 253402300799 -triple s390x-ibm-zos 
-emit-llvm -o - 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/SystemZ/systemz-module.flags.c
# .---command stderr------------
# | error: environment variable 'SOURCE_DATE_EPOCH' ('253402300799') must be a 
non-negative decimal integer &lt;= 2147483647
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/SystemZ/systemz-module.flags.c
# .---command stderr------------
# | FileCheck error: '&lt;stdin&gt;' is empty.
# | FileCheck command line:  
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/SystemZ/systemz-module.flags.c
# `-----------------------------
# error: command failed with exit status: 2
```

---
Full diff: https://github.com/llvm/llvm-project/pull/210341.diff


1 Files Affected:

- (modified) clang/test/CodeGen/SystemZ/systemz-module.flags.c (+2) 


``````````diff
diff --git a/clang/test/CodeGen/SystemZ/systemz-module.flags.c 
b/clang/test/CodeGen/SystemZ/systemz-module.flags.c
index 261dec81a4d52..c07d7443c5ada 100644
--- a/clang/test/CodeGen/SystemZ/systemz-module.flags.c
+++ b/clang/test/CodeGen/SystemZ/systemz-module.flags.c
@@ -1,3 +1,5 @@
 // RUN: %clang_cc1 -source-date-epoch 253402300799 -triple s390x-ibm-zos 
-emit-llvm -o - %s | FileCheck %s
 // CHECK: {{.*}}"zos_cu_language", !"C"}
 // CHECK: {{.*}}"zos_translation_time", i64 253402300799}
+
+// REQUIRES: system-zos

``````````

</details>


https://github.com/llvm/llvm-project/pull/210341
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to