Move unit tests to the unittests asset folder

This commit is contained in:
SirLynix 2022-12-29 12:07:52 +01:00
parent 98f2feecc7
commit 3d88746060
4 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ std::filesystem::path GetAssetDir()
if (!std::filesystem::is_directory(dir) && std::filesystem::is_directory("../.." / dir))
dir = "../.." / dir;
return dir / "tests";
return dir / "unittests";
}();
return resourceDir;

View File

@ -185,7 +185,7 @@ if has_config("examples") then
end
if has_config("tests") then
add_rules("download.assets.tests")
add_rules("download.assets.unittests")
end
set_allowedplats("windows", "mingw", "linux", "macosx")

View File

@ -39,4 +39,4 @@ local function downloadAssetsRule(name)
end
downloadAssetsRule("examples")
downloadAssetsRule("tests")
downloadAssetsRule("unittests")