Commit d16a5041 by Alexis Hetu Committed by Alexis Hétu

Move GLES unit tests

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/21628Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent e70c3514
......@@ -63,7 +63,7 @@ endif
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
......
......@@ -142,6 +142,6 @@ group("swiftshader_tests") {
testonly = true
data_deps = [
"tests/unittests:swiftshader_unittests",
"tests/GLESUnitTests:swiftshader_unittests",
]
}
......@@ -2125,8 +2125,8 @@ endif()
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
)
......
......@@ -248,7 +248,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Subzero", "src\Reactor\Subz
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SubzeroLLVMDependencies", "src\Reactor\SubzeroLLVMDependencies.vcxproj", "{E3BBD7DA-45C1-43EF-9C87-3F411031BDE4}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GLESUnitTests", "tests\unittests\GLESUnitTests.vcxproj", "{CF8EBC89-8762-49DC-9440-6C82B3499913}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GLESUnitTests", "tests\GLESUnitTests\GLESUnitTests.vcxproj", "{CF8EBC89-8762-49DC-9440-6C82B3499913}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VertexRoutineFuzzer", "tests\fuzzers\VertexRoutineFuzzer.vcxproj", "{FBDCFF88-0CE1-43C3-B694-8F45946FAFE3}"
ProjectSection(ProjectDependencies) = postProject
......
......@@ -105,6 +105,7 @@
<ForcedIncludeFiles>
</ForcedIncludeFiles>
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>
<AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......@@ -123,6 +124,7 @@
<ForcedIncludeFiles>
</ForcedIncludeFiles>
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>
<AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......@@ -143,6 +145,7 @@
<ForcedIncludeFiles>
</ForcedIncludeFiles>
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>
<AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......@@ -165,6 +168,7 @@
<ForcedIncludeFiles>
</ForcedIncludeFiles>
<TreatSpecificWarningsAsErrors>4018;5038;4838</TreatSpecificWarningsAsErrors>
<AdditionalOptions>/permissive- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment