Skip to content

antmicro/renode-bazel-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bazel rules for Renode

Copyright (c) 2021-2024 Antmicro

This repository contains rules for running Renode tests inside Bazel and provides use case examples.

In order to guarantee hermeticity of tests, the renode_test rule uses Renode portable and Python 3.11 (together with dependencies) as a hermetic toolchain. The implication of this is that it's not necessary to install any of the aforementioned pieces of software on the host machine in order to run tests.

Running an example

An example that tests an ELF binary with HiRTOS compiled for Cortex-R52 is provided in examples/cortex-r52.

In order to run this test, issue bazel test //:cortex-r52-test in the example directory.

After the test has completed (irrespectively of its status), you'll find the resulting artifacts (logs, report, etc) in the bazel-testlogs/examples/cortex-r52-test/test.outputs directory in the outputs.zip file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •