Skip to main content

Executes and captures the results of https://github.com/abaire/nxdk_pgraph_tests in an emulator

Project description

nxdk-pgraph-test-runner

PyPI - Version PyPI - Python Version


Table of Contents

Purpose

This test harness utilizes the nxdk_pgraph_tests project to exercise the NV2A 3D accelerator on the original Microsoft Xbox. The runner is intended to be used with an emulator (e.g., xemu) and is able to detect and recover from crashes.

Installation

Prerequisites

  • An xbox emulator (e.g., xemu) - required

pip installation

# Optionally create a virtual env
#   pip -m venv .venv
#   source .venv/bin/activate

pip install nxdk-pgraph-test-runner

nxdk-pgraph-test-runner --help

Configuration

A default config may be generated by running the nxdk-pgraph-test-runner command.

Emulator command line

"emulator_command = /path/to/emulator {ISO}"

The command may utilize the following macros:

  • {ISO} - Replaced with the path to the nxdk_pgraph_tests.iso xiso file.

Example invocation

This is a sample invocation that will run xemu against a previously downloaded nxdk_pgraph_tests iso. It will create a results directory with the results of the tests.

nxdk-pgraph-test-runner \
    --override-ftp-ip 10.0.2.2 \
    --iso-path ~/nxdk_pgraph_tests_xiso.iso \
    --emulator-command "/path/to/xemu -dvd_path \"{ISO}\"" \
    -I lo0

This assumes that xemu is configured to use NAT networking, so the IP reported to the pgraph tester is set to the qemu 10.0.2.2 host address and the loopback interface (-I lo0) is used.

License

nxdk-pgraph-test-runner is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxdk_pgraph_test_runner-0.1.3.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nxdk_pgraph_test_runner-0.1.3-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file nxdk_pgraph_test_runner-0.1.3.tar.gz.

File metadata

  • Download URL: nxdk_pgraph_test_runner-0.1.3.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nxdk_pgraph_test_runner-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b6e4bc25b30a0ee249170c7ea768ebdf6183dcd296f8dbf632ba65396d6ed8d3
MD5 e02041c4a4b459ecf359591d83e36f50
BLAKE2b-256 a6ec7dc4135a4bc436539d13c0e14c57ccf204d7bfd8bb2742efda3201bc208b

See more details on using hashes here.

File details

Details for the file nxdk_pgraph_test_runner-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nxdk_pgraph_test_runner-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a2199753da22b706d4c1818b50c16430ecac09b15be9404ed0eee674b2a823d
MD5 5f804a437fffd05dbddd9614288be356
BLAKE2b-256 7f1a2000c217f1951f140c2e1bc9f5d1f80d07b67081e78fe9be5e96d510c18e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page