tree: eb737ae8688dda870aa54a9dac13c22e0b79fe86 [search]
  1. runtime/
  2. s_tir/
  3. support/
  4. CMakeLists.txt
  5. README.md
tests/cpp/README.md

tests/cpp

This folder contains some unit tests for C++ utilities in the codebase.

In principle we aim to do most compiler related tests in the python to bring more development velocity, and only use this folder for low-level unit-tests. All tests should finish fast and not dependent on a presence of an accelerator device.

Tests are grouped by subsystem in ir/, runtime/, support/, sym/, target/, and tirx/. CMake discovers .cc files in these folders recursively. Configure and build out of source in build/, then run build/cpptest.