Executes and captures the results of https://github.com/abaire/nxdk_pgraph_tests in an emulator
Project description
nxdk-pgraph-test-runner
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 thenxdk_pgraph_tests.isoxiso 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nxdk_pgraph_test_runner-0.0.10.tar.gz.
File metadata
- Download URL: nxdk_pgraph_test_runner-0.0.10.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
427dc2d40dca8f58e6a106a70bba39bd88ac23880b926781d222ad91a5fbd592
|
|
| MD5 |
87dae0255ac46d96cf215a47e14ac0d0
|
|
| BLAKE2b-256 |
cd7c6d81669c6b131979ab87adfe329232d5ea06fd6d355d9fe7c0a85b3db680
|
File details
Details for the file nxdk_pgraph_test_runner-0.0.10-py3-none-any.whl.
File metadata
- Download URL: nxdk_pgraph_test_runner-0.0.10-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc03f2579f5caa4b6bdf2a6a5e41dbdc5774daad2598c77e118f291bb8ae731a
|
|
| MD5 |
c1b14e23b48cd3fe103e81949f6ccd37
|
|
| BLAKE2b-256 |
f611a8024309c3da1d3691d50bacc30e2ecd0a24848053919c375e792775ce35
|