Skip to content

[Bug] Hexagon tests erroneously say "Hexagon support not enabled" when no ANDROID_SERIAL_NUMBER environment variable is set #11482

@supersat

Description

@supersat

Previously, Hexagon tests would say "Skip hardware test since ANDROID_SERIAL_NUMBER is not set." if the ANDROID_SERIAL_NUMBER environment variable wasn't set. However, it seems as of #11294, it now says "Hexagon support not enabled", implying that TVM wasn't built with Hexagon support enabled.

Expected behavior

A warning saying ANDROID_SERIAL_NUMBER isn't set.

Actual behavior

A warning saying "Hexagon support not enabled."

Environment

Ubuntu 20.04
TVM main branch @ 4a769c1

Steps to reproduce

Build TVM with Hexagon support. Run any Hexagon test without an ANDROID_SERIAL_NUMBER environment variable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions