Skip to content

robbr48/OMSimulator-testsuite

 
 

Repository files navigation

OMSimulator-testsuite

Running the testsuite

The testsuite consists of test files (.lua and .py) and resources, such as reference files and FMUs.

  1. make

    Will run all tests that currently should pass. Use this before checking in.

Creating test files

To get a correct testfile, watch out for use of tab and space, can be hard to find.

rtest special directives added to help creating testcases:

  • status: correct

  • teardown_command: rm -f ...

    Will execute the provided command after running the test case, e.g. to remove generated files.

  • linux: no

    Will disable a specific test case on Linux.

  • mingw: yes

    Will enable a specific test case on Windows mingw.

About

Test suite for OMSimulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 63.5%
  • Perl 15.9%
  • Modelica 7.4%
  • Python 5.5%
  • Makefile 4.4%
  • Lex 2.0%
  • Shell 1.3%