Skip to content
Chuck Walbourn edited this page May 14, 2024 · 15 revisions

This is a repository for the test suite for DirectXTex on GitHub.

Setup

  • Install git
  • Install and initialize git-LFS
  • Install CMake, Ninja, and MSVC or clang/LLVM for Windows
git clone https://github.com/walbourn/directxtexmedia.git`  (requires git-LFS)
git clone https://github.com/Microsoft/DirectXTex.git
cd DirectXTex
git clone https://github.com/walbourn/directxtextest.git Tests
git clone https://github.com/Microsoft/DirectXTex.wiki.git wiki

Create an environment variable DIRECTXTEX_MEDIA_PATH to point to the clone of directxtexmedia.

Media

Test media is not included in the repository. A copy of these test files are hosted here.

Running tests

CTest is supported

cd DirectXTex
cmake --preset=x64-Debug
cmake build out\build\x64-Debug
ctest --preset=x64-Debug

Cleanup

The UWP test is deployed for testing, and will remain on your system until it is uninstalled. To remove it, you can use the following PowerShell script:

Get-AppxPackage 495f7f17-811a-4ad8-94ec-95efaab448ed | Remove-AppxPackage
Clone this wiki locally