Skip to content

Re-enable debuginfo tests on Android #10381

Open

Description

@yichoi

Some debuginfo tests were disabled when running on Android when we added support for running tests on the Android bot (#9120). We should try to enable all debuginfo on Android. (See the results of https://cs.github.com/rust-lang/rust?q=ignore-android%20path%3A%2F%5Esrc%5C%2Ftest%5C%2Fdebuginfo%5C%2F%2F for which tests are disabled)

Debugging with gdb on android target works differently from debugging with gdb on linux.

There are two options however it is not high priority

  • we can modify android gdb to work like linux gdb
  • we can modify debug-info to work with android gdb

Activity

  1. jdm commented on Nov 9, 2013

    @jdm
    Contributor

    What are the differences between android and linux gdb?

  2. yichoi commented on Nov 10, 2013

    @yichoi
    ContributorAuthor

    some gdb command works on linux gdb properly but exits without error message on android gdb.

  3. flaper87 commented on Apr 18, 2014

    @flaper87
    Contributor

    Triage: I believe this is still an issue since the debug-info tests are still being ignored for android

  4. added 6 commits that reference this issue on Feb 4, 2015
  5. sanxiyn commented on Mar 16, 2015

    @sanxiyn
    Contributor

    Fixed in #21774.

  6. 15 remaining items

  7. added a commit that references this issue on Apr 29, 2015
    698fcea
  8. alexcrichton commented on Apr 29, 2015

    @alexcrichton
    Member

    (a few still ignored)

  9. steveklabnik commented on Jan 3, 2017

    @steveklabnik
    Contributor

    Triage: as far as I know, this is still true.

  10. steveklabnik commented on Sep 24, 2018

    @steveklabnik
    Contributor

    Triage: no change

  11. wesleywiser commented on Aug 15, 2022

    @wesleywiser
    Member

    Visited during wg-debugging triage. We still have 11 tests that // ignore-android https://cs.github.com/rust-lang/rust?q=ignore-android%20path%3A%2F%5Esrc%5C%2Ftest%5C%2Fdebuginfo%5C%2F%2F

  12. changed the title [-]fix to pass test/debug-info/* on android[/-] [+]Re-enable debuginfo tests on Android[/+] on Aug 15, 2022
  13. added a commit that references this issue on Feb 26, 2023
    574c8ae
  14. wesleywiser commented on Apr 12, 2023

    @wesleywiser
    Member

    Looks like this was inadvertently closed.

  15. added
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.O-androidOperating system: AndroidT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions