Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests should not run expressions that reference platform-specific symbols #24864

Open
llvmbot opened this issue Aug 18, 2015 · 0 comments
Open
Labels
bugzilla Issues migrated from bugzilla lldb

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 18, 2015

Bugzilla Link 24490
Version unspecified
OS Windows NT
Blocks #22140
Reporter LLVM Bugzilla Contributor

Extended Description

Examples of tests that do this are:

TestCPPThis.py (calls getpid which is not on Windows)
TestExprs2 (uses the global variable environ, which is not on Windows)
TestConstVariables.py (also calls getpid)

The implementations of these tests should be changed so that they either do not reference platform specific functions, or the test should detect the platform and call the appropriate function.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla lldb
Projects
None yet
Development

No branches or pull requests

1 participant