Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.01 KB

Readme.md

File metadata and controls

25 lines (16 loc) · 1.01 KB

Test suite for the GameCube/Wii hardware

Released under GPLv2.

Requirements:

  • CMake
  • devkitPPC
  • libogc (if not installed into ${DEVKITPRO}/libogc, a CMake variable called LIBOGCDIR needs to be specified)
  • DEVKITPRO and DEVKITPPC environment variables (see devkitPPC documentation)

To use the run_* CMake targets:

  • netcat
  • WIILOAD environment variable with the IP address of your Wii, e.g., export WIILOAD=tcp:192.168.0.124

Usage:

To build all tests, call ./build.sh from the root directory. (Set the MAKEFLAGS environment variable to build in parallel.)

Tests are run by sending their ELFs one-by-one over the network to a Wii running the Homebrew Channel. To do this, call make run_$NAMEOFTEST from the build directory.

To run all tests, call make -j1 run from the build directory. Note that there are some very slow tests.

Test results are sent back over TCP on port 16784, if you are running the test locally on an emulator you can simply run the command telnet localhost 16784 in the terminal.