GLES unit tests were in the generic "unittests" directory.
In order to avoid confusion with Vulkan unit tests, the
GLES unit tests directory was renamed to GLESUnitTests.
Change-Id: Idc40f63daddc6f822207fc4a75dd037a46ae22a6
Reviewed-on: https://swiftshader-review.googlesource.com/c/21628
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
ifneq ($(swiftshader_unsupported_build),true)
include $(swiftshader_root)/src/Android.mk
-include $(swiftshader_root)/tests/unittests/Android.mk
+include $(swiftshader_root)/tests/GLESUnitTests/Android.mk
ifeq ($(REACTOR_LLVM_VERSION),3)
include $(swiftshader_root)/third_party/LLVM/Android.mk
else
testonly = true
data_deps = [
- "tests/unittests:swiftshader_unittests",
+ "tests/GLESUnitTests:swiftshader_unittests",
]
}
if(BUILD_TESTS)
set(UNITTESTS_LIST
- ${CMAKE_SOURCE_DIR}/tests/unittests/main.cpp
- ${CMAKE_SOURCE_DIR}/tests/unittests/unittests.cpp
+ ${CMAKE_SOURCE_DIR}/tests/GLESUnitTests/main.cpp
+ ${CMAKE_SOURCE_DIR}/tests/GLESUnitTests/unittests.cpp
${CMAKE_SOURCE_DIR}/third_party/googletest/googletest/src/gtest-all.cc
)
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SubzeroLLVMDependencies", "src\Reactor\SubzeroLLVMDependencies.vcxproj", "{E3BBD7DA-45C1-43EF-9C87-3F411031BDE4}"\r
EndProject\r
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GLESUnitTests", "tests\unittests\GLESUnitTests.vcxproj", "{CF8EBC89-8762-49DC-9440-6C82B3499913}"\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GLESUnitTests", "tests\GLESUnitTests\GLESUnitTests.vcxproj", "{CF8EBC89-8762-49DC-9440-6C82B3499913}"\r
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VertexRoutineFuzzer", "tests\fuzzers\VertexRoutineFuzzer.vcxproj", "{FBDCFF88-0CE1-43C3-B694-8F45946FAFE3}"\r
ProjectSection(ProjectDependencies) = postProject\r
<ForcedIncludeFiles>\r
</ForcedIncludeFiles>\r
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>\r
+ <AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>\r
</ClCompile>\r
<Link>\r
<SubSystem>Console</SubSystem>\r
<ForcedIncludeFiles>\r
</ForcedIncludeFiles>\r
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>\r
+ <AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>\r
</ClCompile>\r
<Link>\r
<SubSystem>Console</SubSystem>\r
<ForcedIncludeFiles>\r
</ForcedIncludeFiles>\r
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>\r
+ <AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>\r
</ClCompile>\r
<Link>\r
<SubSystem>Console</SubSystem>\r
<ForcedIncludeFiles>\r
</ForcedIncludeFiles>\r
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>\r
+ <AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>\r
</ClCompile>\r
<Link>\r
<SubSystem>Console</SubSystem>\r