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

addpkg: diskonaut #1194

Merged
merged 1 commit into from
Apr 22, 2022
Merged

addpkg: diskonaut #1194

merged 1 commit into from
Apr 22, 2022

Conversation

Avimitin
Copy link
Contributor

This patch fix three error:

  1. The target specification issue.

  2. Crate libc can not be compiled due to symbol missing.

    This is fixed in rust-lang/libc PR #2668, and release in 0.2.118
    version.

  3. Test failure

    Some tests of diskonaut depend on the previous events. It take a snapshot of the TUI pixels output, then compare those snapshot pixel by pixel to determine if the cli is working correctly. However those test are not reliable. If the previous event took too long to finish, the TUI output will not match what is expected. The current workaround is to increase the event interval. One second interval is enough for all event to finish its jobs.

    Tested in 5950x QEMU environment.

This patch fix three error:

1. The [target specification issue].

2. Crate libc can not be compiled due to symbol missing.

This is fixed in [rust-lang/libc PR felixonmars#2668], and release in 0.2.118
version.

3. Test failure

Some tests of diskonaut depend on the previous events. It take a
snapshot of the TUI pixels output, then compare those snapshot pixel by
pixel to determine if the cli is working correctly.

However those test are not reliable. If the previous event took too
long to finish, the TUI output will not match what is expected.

The current workaround is to increase the event interval. One second
interval is enough for all event to finish its jobs.

Tested in 5950x QEMU environment.

Ref:
* [target specification issue]: felixonmars#670 (comment)
* [rust-lang/libc PR felixonmars#2668]: rust-lang/libc#2668

Signed-off-by: Avimitin <avimitin@gmail.com>
@felixonmars felixonmars merged commit 566be99 into felixonmars:master Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants