Skip to content

marecl/integration_tests

 
 

Repository files navigation

integration_tests

OpenOrbis Homebrews running tests

Running

All dependencies are downloaded on demand

  • OO_PS4_TOOLCHAIN: If environment variable is not set, download latest into build folder
  • CppUTest: Always download latest into build

Toolchain, compiler (clang) is automatically selected. just run:

cmake -B./build/ -S./
cmake --build ./build/

After build, tests are in ./build/install and are ready to use (no cmake install needed)

Adding new test

Create a copy of template directory in ./tests/code and rename it. Add tests into test's code/test.cpp. If sys libs are needed, then add them using link_libraries() call inside the test's CMake file. It is recommended to read comments in ./tests/code/ps4_package.cmake and ./OpenOrbis-tc.cmake to get the better understanding of how targets are working and learn how to set them up.

Note

No need to add tests folder into CMakeLists.txt, all folders under ./tests/ are automatically built.

About

OpenOrbis System Test Homebrews

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.5%
  • CMake 7.2%
  • C 4.4%
  • Batchfile 1.1%
  • Shell 0.8%