diff options
| author | Stefan Boberg <[email protected]> | 2021-09-29 22:26:07 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-29 22:26:07 +0200 |
| commit | 24d571fc92761d84a186a01803036720b8c5fba9 (patch) | |
| tree | 2a7321fe2172e8f49d44872f078193ecf3b02bd1 /zencore/filesystem.cpp | |
| parent | stats: added Histogram, UniformSample and SampleSnapshot (diff) | |
| parent | Prevent mesh tests to crash by moving behind define. (diff) | |
| download | zen-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.cpp | 3 |
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 |