Skip to content

Conversation

SchrodingerZhu
Copy link
Contributor

@SchrodingerZhu SchrodingerZhu commented Oct 9, 2025

The issue is being investigated. For now, let's skip the test to keep the bot running

see #162671

@SchrodingerZhu SchrodingerZhu requested a review from lntue October 9, 2025 14:49
@SchrodingerZhu SchrodingerZhu enabled auto-merge (squash) October 9, 2025 15:16
@SchrodingerZhu SchrodingerZhu force-pushed the libc/skip-sysconf-for-rv32 branch from d96e747 to 8c22e9d Compare October 9, 2025 15:23
@llvmbot llvmbot added the libc label Oct 9, 2025
@llvmbot
Copy link
Member

llvmbot commented Oct 9, 2025

@llvm/pr-subscribers-libc

Author: Schrodinger ZHU Yifan (SchrodingerZhu)

Changes

The issue is being investigated. For now, let's skip the test to keep the bot running

see #162671


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

1 Files Affected:

  • (modified) libc/test/src/unistd/sysconf_test.cpp (+4)
diff --git a/libc/test/src/unistd/sysconf_test.cpp b/libc/test/src/unistd/sysconf_test.cpp
index 85bc1258a4863..e6a35c70f29e8 100644
--- a/libc/test/src/unistd/sysconf_test.cpp
+++ b/libc/test/src/unistd/sysconf_test.cpp
@@ -13,5 +13,9 @@
 
 TEST(LlvmLibcSysconfTest, PagesizeTest) {
   long pagesize = LIBC_NAMESPACE::sysconf(_SC_PAGESIZE);
+  // TODO: fix page size support on RV32
+  // (https://github.com/llvm/llvm-project/issues/162671)
+#ifndef LIBC_TARGET_ARCH_IS_RISCV32
   ASSERT_GT(pagesize, 0l);
+#endif
 }

auto-merge was automatically disabled October 9, 2025 15:31

Pull Request is not mergeable

@SchrodingerZhu
Copy link
Contributor Author

I think I have identified the error

@SchrodingerZhu SchrodingerZhu deleted the libc/skip-sysconf-for-rv32 branch October 10, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants