[package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.1"

category = "Internal"

# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]

# The title and description fields are primarly for displaying extension info in UI
title = "USD Audio Tests"
description="Tests that had to be moved out of omni.usd due to dependency issues"

# URL of the extension source repository.
repository = ""

# Preview image. Folder named "data" automatically goes in git lfs (see .gitattributes file).
#preview_image = "data/preview.png"

# Icon is shown in Extensions window, it is recommended to be square, of size 256x256.
#icon = "data/icon.png"

# Keywords for the extension
keywords = ["kit", "usd", "tests", "audio", "sound"]

# Location of change log file in target (final) folder of extension, relative to the root.
# More info on writing changelog: https://keepachangelog.com/en/1.0.0/
#changelog="docs/CHANGELOG.md"

# Path (relative to the root) or content of readme markdown file for UI.
#readme  = "docs/README.md"

[dependencies]
"omni.usd" = {}
"carb.audio" = {}

[[python.module]]
name = "omni.kit.audio.test.usd"

[[test]]
args = [
    "--/app/file/ignoreUnsavedOnExit=true",
    "--/app/asyncRendering=false",
    # OM-20773: Use legacy bitmask to control audio-on state
    "--/persistent/app/viewport/displayOptions=4096",
    "--no-window"
]

dependencies = [
    "omni.kit.renderer.core",
    "omni.ui",
    "omni.kit.property.usd",
    "omni.kit.property.audio",
    "omni.kit.test_helpers_gfx",
    "omni.hydra.rtx",
    "omni.kit.window.viewport",
    "omni.kit.test_suite.helpers"
]

stdoutFailPatterns.exclude = [
    "*prim '*' is of type 'Sound', not 'Listener'*",
    "*sound '*' was in the incorrect position in m_sounds*",
    "*failed to open the new device {result = 0x00000005}*",
    "*failed to open the new device {result = 0x00000002}*",
    "*failed to create a new output streamer*",
    "*the asset for sound * failed to load*"
]

# RTX regression OM-51983
timeout = 600
