Move unit tests to the unittests asset folder
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -39,4 +39,4 @@ local function downloadAssetsRule(name)
|
||||
end
|
||||
|
||||
downloadAssetsRule("examples")
|
||||
downloadAssetsRule("tests")
|
||||
downloadAssetsRule("unittests")
|
||||
Reference in New Issue
Block a user