Skip to content

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

Merged
merged 5 commits into from
Jan 3, 2018

Conversation

EdSchouten
Copy link
Contributor

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.

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.
@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 3, 2018
Copy link
Member

@kennytm kennytm left a 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.

@@ -977,12 +977,9 @@ fn use_color(opts: &TestOpts) -> bool {
}
}

#[cfg(target_os = "redox")]
fn stdout_isatty() -> bool {
// FIXME: Implement isatty on Redox
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please retain this FIXME.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@kennytm kennytm added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 3, 2018
@kennytm
Copy link
Member

kennytm commented Jan 3, 2018

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 3, 2018

📌 Commit 3ca407e has been approved by kennytm

@bors
Copy link
Collaborator

bors commented Jan 3, 2018

⌛ Testing commit 3ca407e with merge d96cc6e...

bors added a commit that referenced this pull request Jan 3, 2018
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.
@bors
Copy link
Collaborator

bors commented Jan 3, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: kennytm
Pushing d96cc6e to master...

@bors bors merged commit 3ca407e into rust-lang:master Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants