Skip to content

flogosec/qemu-avr32-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QEMU AVR32 Testing Framework

This framework can be used to test the implementation of AVR32 CPU instructions in QEMU-AVR32.

Installation

Clone the repo.

git clone https://github.com/flogosec/qemu-avr32-testing.git

Download the AVR32 assembler from the Atmel website. Place the avr32-as file in the project directory.

Usage

The testing script provides the following options.

Execute a single test

./avr32test.py -p [path to QEMU-AVR32 binary] --build -t [name of test file]

The --build option is needed to first assemble the test binary.

Execute multiple tests

./avr32test.py -p [path to QEMU-AVR32 binary] --build -t [substring]

The substring can be replaced with the start of a test name. All tests startring with this substring will be executed.

Execute all tests

./avr32test.py -p [path to QEMU-AVR32 binary] --build --all

Show debug output

./avr32test.py -p [path to QEMU-AVR32 binary] --build --all -d

This shows the registers contents after each test, next to the expected results.

Add ing new tests

I posted an article on my blog that describes how new tests can be added. See here.

About

A testingframework for the QEMU AVR32 implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages