-
Notifications
You must be signed in to change notification settings - Fork 13.3k
First cut at getting some part of the test suite working for CloudABI #47127
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
Conversation
It looks like many of these tests are already disabled on emscripten, which also doesn't seem to support environment variables and subprocess spawning. Just add a similar tag for CloudABI. While there, sort some of the lists of operating systems alphabetically.
CloudABI doesn't support the creation of dynamic libraries. Any test making use of auxiliary libraries will fail without this change applied.
CloudABI doesn't make any distinction between TTYs and ordinary pipes. While there, remove the redundant implementation used by Redox. It can use the same stub function.
Due to the disable-cloudabi tags being added to the source files, the expected output of the compiler is altered slightly.
998d6c2
to
c51f878
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me after fixing the nit.
src/libtest/lib.rs
Outdated
@@ -977,12 +977,9 @@ fn use_color(opts: &TestOpts) -> bool { | |||
} | |||
} | |||
|
|||
#[cfg(target_os = "redox")] | |||
fn stdout_isatty() -> bool { | |||
// FIXME: Implement isatty on Redox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please retain this FIXME.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Requested by: kennytm
@bors r+ |
📌 Commit 3ca407e has been approved by |
First cut at getting some part of the test suite working for CloudABI I am currently working on creating a Docker container for automated CI for CloudABI. Here are some of the trivial changes that need to land to make tests pass.
☀️ Test successful - status-appveyor, status-travis |
I am currently working on creating a Docker container for automated CI for CloudABI. Here are some of the trivial changes that need to land to make tests pass.