tenstorrent / tt-umd

User-Mode Driver for Tenstorrent hardware
Apache License 2.0
9 stars 5 forks source link

Consolidate and cleanup tests folder #32

Open vtangTT opened 2 months ago

vtangTT commented 2 months ago

Right now, UMD unit tests for different chips are found in different folders (eg: tests/wormhole, tests/blackhole)

Each folder has the same file(s): test_silicon_driver.cpp, test_umd_remote_api_stability.cpp

These files seem to be just copy-pasted and share a lot of common code. Should be able to consolidate all of them with some sort of gtest fixture, get rid of the separate folders and cleanup the cmake build setup.

This might change completely when UMD gets refactored, but just tracking with this ticket.

vtangTT commented 2 months ago

This will probably break the gitlab CI.

pjanevskiTT commented 2 days ago

Putting this as P2 as it might completely change when we redesign the API and have to write new set of tests