Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.06 KB

File metadata and controls

40 lines (29 loc) · 1.06 KB

CREATOR Build Script

Introduction

This script is designed to run tests for different architectures, specifically RISC-V and MIPS. The script automates the testing process by running various test categories and comparing the actual output with expected results. Its main use is regression testing.

The script can be run from the command line to execute tests on different architectures with options for filtering based on categories.

Basic Command

python test.py

Options

  • --arch: Filter tests by architecture. Acceptable values are riscv or mips.

    python test.py --arch riscv
  • --category: Filter by test category (e.g., examples, syscalls).

    python test.py --category examples
  • --list: List available architectures and categories.

    python test.py --list
  • --nocolor: Disable colored output for test results. Useful when saving the output to a file

    python test.py --nocolor

    To save the output:

    python test.py --nocolor > report.txt