[libcxx-commits] [libcxx] Add more debug output to the builders for a moment. (PR #83508)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 29 18:58:33 PST 2024


https://github.com/EricWF updated https://github.com/llvm/llvm-project/pull/83508

>From 1973366cde252887047ec93f3e896f8e64a399cf Mon Sep 17 00:00:00 2001
From: eric <eric at efcs.ca>
Date: Thu, 29 Feb 2024 19:18:47 -0500
Subject: [PATCH 1/2] Add more debug output to the builders for a moment.

---
 libcxx/utils/ci/run-buildbot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 2905745355b68e..e0760c5e285aa7 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -127,7 +127,7 @@ function generate-cmake-base() {
           -DLIBCXXABI_ENABLE_WERROR=YES \
           -DLIBUNWIND_ENABLE_WERROR=YES \
           -DLIBCXX_ENABLE_CLANG_TIDY=${ENABLE_CLANG_TIDY} \
-          -DLLVM_LIT_ARGS="-sv --xunit-xml-output test-results.xml --timeout=1500 --time-tests" \
+          -DLLVM_LIT_ARGS="-v --xunit-xml-output test-results.xml --timeout=1500 --time-tests" \
           "${@}"
 }
 

>From fb34a045f140c2dafd3b32a4c649de96fb9f8795 Mon Sep 17 00:00:00 2001
From: eric <eric at efcs.ca>
Date: Thu, 29 Feb 2024 21:58:16 -0500
Subject: [PATCH 2/2] make changes

---
 libcxx/utils/run.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libcxx/utils/run.py b/libcxx/utils/run.py
index 6b4d615444bcfa..ac98db9f7c29aa 100755
--- a/libcxx/utils/run.py
+++ b/libcxx/utils/run.py
@@ -17,7 +17,7 @@
 import os
 import platform
 import subprocess
-
+import signal
 
 def main():
     parser = argparse.ArgumentParser()
@@ -65,8 +65,10 @@ def main():
             env["TEMP"] = os.environ.get("TEMP")
 
     # Run the command line with the given environment in the execution directory.
-    return subprocess.call(commandLine, cwd=args.execdir, env=env, shell=False)
-
+    result = subprocess.call(commandLine, cwd=args.execdir, env=env, shell=False)
+    if result == -signal.SIGINT:
+        raise KeyboardInterrupt
+    return result
 
 if __name__ == "__main__":
     exit(main())



More information about the libcxx-commits mailing list