aboutsummaryrefslogtreecommitdiff
path: root/zencore/filesystem.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-29 22:26:07 +0200
committerStefan Boberg <[email protected]>2021-09-29 22:26:07 +0200
commit24d571fc92761d84a186a01803036720b8c5fba9 (patch)
tree2a7321fe2172e8f49d44872f078193ecf3b02bd1 /zencore/filesystem.cpp
parentstats: added Histogram, UniformSample and SampleSnapshot (diff)
parentPrevent mesh tests to crash by moving behind define. (diff)
downloadzen-24d571fc92761d84a186a01803036720b8c5fba9.tar.xz
zen-24d571fc92761d84a186a01803036720b8c5fba9.zip
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zencore/filesystem.cpp')
-rw-r--r--zencore/filesystem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp
index 54ab2ad85..a06c00e41 100644
--- a/zencore/filesystem.cpp
+++ b/zencore/filesystem.cpp
@@ -816,7 +816,8 @@ TEST_CASE("filesystem")
// GetExePath
path BinPath = GetRunningExecutablePath();
- CHECK(BinPath.stem() == "zencore-test");
+ const bool ExpectedExe = BinPath.stem() == "zencore-test" || BinPath.stem() == "zenserver-test";
+ CHECK(ExpectedExe);
CHECK(is_regular_file(BinPath));
// PathFromHandle