[package]
# Semantic Versioning is used: https://semver.org/

version = "1.0.0"

category = "Internal"

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

# The title and description fields are primarily for displaying extension info in UI
title = "omni.kit.test_suite.layer_window"
description="omni.kit.test_suite.layer_window"
readme = "docs/README.md"

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

# Keywords for the extension
keywords = ["kit", "ui", "test"]

# 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"

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

[[python.module]]
name = "omni.kit.test_suite.layer_window"

[[test]]
args = [
    "--/renderer/enabled=pxr",
    "--/renderer/active=pxr",
    "--/renderer/multiGpu/enabled=false",
    "--/renderer/multiGpu/autoEnable=false", # Disable mGPU with PXR due to OM-51026, OM-53611
    "--/renderer/multiGpu/maxGpuCount=1",
    "--/app/asyncRendering=false",
    "--/app/file/ignoreUnsavedOnExit=true",
    "--/app/window/dpiScaleOverride=1.0",
    "--/app/window/scaleToMonitor=false",
    "--/persistent/app/omniverse/filepicker/options_menu/show_details=false",
    "--no-window"
]

dependencies = [
    "omni.kit.mainwindow",
    "omni.usd",
    "omni.kit.renderer.capture",
    "omni.kit.ui_test",
    "omni.kit.test_suite.helpers",
    "omni.kit.window.stage",
    "omni.kit.widget.layers",
    "omni.kit.property.bundle",
    "omni.kit.window.status_bar",
    "omni.hydra.pxr",
    "omni.kit.window.viewport",
]

stdoutFailPatterns.exclude = [
    "*HgiGLPostPendingGLErrors*", # Ignore any Hgi OpenGL errors
    "*HydraRenderer failed to render this frame*",  # Can drop a frame or two rendering with OpenGL interop
    "*Cannot use omni.hydra.pxr without OpenGL interop*" # Linux TC configs with multi-GPU might not have OpenGL available
]
