From 95be0e74b8574fba3f83562e27c77bb3dddf8b58 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 7 Dec 2024 17:42:15 +0300 Subject: [PATCH] update vctest --- .github/workflows/windows.yml | 1 - vctest/main.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index bac73b83..1f7978dd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -38,7 +38,6 @@ jobs: run: ctest --output-on-failure --test-dir build - name: Run engine tests run: | - tree build build/vctest/Release/vctest.exe -e build/Release/VoxelEngine.exe -d dev/tests -u build timeout-minutes: 1 # - name: Package for Windows diff --git a/vctest/main.cpp b/vctest/main.cpp index f6d3e773..f8cd1767 100644 --- a/vctest/main.cpp +++ b/vctest/main.cpp @@ -135,7 +135,7 @@ static bool run_test(const Config& config, const fs::path& path) { auto name = path.stem(); std::stringstream ss; - ss << config.executable << " --headless"; + ss << fs::canonical(config.executable) << " --headless"; ss << " --test " << path; ss << " --res " << config.resDir; ss << " --dir " << config.workingDir;