From 25222ac722962f9a041e73b35f6e7dcbb2d3b5d8 Mon Sep 17 00:00:00 2001 From: mingkuang Date: Wed, 27 Nov 2024 22:20:36 +0800 Subject: [PATCH] =?UTF-8?q?Opt,=20=E5=88=A0=E9=99=A4=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E5=87=A0=E4=B9=8E=E4=B8=BA0=E7=9A=84ARM?= =?UTF-8?q?=E7=89=88=E6=9C=AC(=E5=90=8C=E6=97=B6=E9=81=BF=E5=85=8DCI?= =?UTF-8?q?=E7=BC=BA=E5=B0=91ARM=E7=8E=AF=E5=A2=83=E8=80=8C=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=A4=B1=E8=B4=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build.proj | 16 ++-- UnitTest/UnitTest.cpp | 128 +++++++++++++------------- UnitTest/detect_mismatch_UnitTest.cpp | 20 ++-- 3 files changed, 82 insertions(+), 82 deletions(-) diff --git a/Build.proj b/Build.proj index 0c835f8..7b20168 100644 --- a/Build.proj +++ b/Build.proj @@ -113,7 +113,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -140,7 +140,7 @@ - + @@ -153,7 +153,7 @@ - + @@ -166,7 +166,7 @@ - + @@ -178,7 +178,7 @@ - + @@ -194,9 +194,9 @@ - + diff --git a/UnitTest/UnitTest.cpp b/UnitTest/UnitTest.cpp index 014688b..79ef107 100644 --- a/UnitTest/UnitTest.cpp +++ b/UnitTest/UnitTest.cpp @@ -330,14 +330,14 @@ namespace UnitTest ); - TestLib( - VCToolsInstallDir LR"(lib\arm\vcruntime.lib)", - L"vcruntime", - L"arm", - { L"Dynamic", L"Static" }, - { L"6.2.9200.0" }, - Info - ); + //TestLib( + // VCToolsInstallDir LR"(lib\arm\vcruntime.lib)", + // L"vcruntime", + // L"arm", + // { L"Dynamic", L"Static" }, + // { L"6.2.9200.0" }, + // Info + // ); } TEST_METHOD(vcruntime_msvcrt_Debug模式所有符号可以被链接) @@ -368,14 +368,14 @@ namespace UnitTest ); - TestLib( - VCToolsInstallDir LR"(lib\arm\vcruntimed.lib)", - L"vcruntime", - L"arm", - { L"DDynamic", L"DStatic" }, - { L"6.2.9200.0" }, - Info - ); + //TestLib( + // VCToolsInstallDir LR"(lib\arm\vcruntimed.lib)", + // L"vcruntime", + // L"arm", + // { L"DDynamic", L"DStatic" }, + // { L"6.2.9200.0" }, + // Info + // ); } TEST_METHOD(vcruntime_ucrt模式所有符号可以被链接) @@ -403,14 +403,14 @@ namespace UnitTest Info ); - TestLib( - VCToolsInstallDir LR"(lib\arm\vcruntime.lib)", - L"vcruntime", - L"arm", - { L"Dynamic", L"Static" }, - { L"10.0.10240.0", L"10.0.19041.0" }, - Info - ); + //TestLib( + // VCToolsInstallDir LR"(lib\arm\vcruntime.lib)", + // L"vcruntime", + // L"arm", + // { L"Dynamic", L"Static" }, + // { L"10.0.10240.0", L"10.0.19041.0" }, + // Info + // ); TestLib( VCToolsInstallDir LR"(lib\arm64\vcruntime.lib)", @@ -448,14 +448,14 @@ namespace UnitTest Info ); - TestLib( - VCToolsInstallDir LR"(lib\arm\vcruntimed.lib)", - L"vcruntime", - L"arm", - { L"DDynamic", L"DStatic" }, - { L"10.0.10240.0", L"10.0.19041.0" }, - Info - ); + //TestLib( + // VCToolsInstallDir LR"(lib\arm\vcruntimed.lib)", + // L"vcruntime", + // L"arm", + // { L"DDynamic", L"DStatic" }, + // { L"10.0.10240.0", L"10.0.19041.0" }, + // Info + // ); TestLib( VCToolsInstallDir LR"(lib\arm64\vcruntimed.lib)", @@ -495,14 +495,14 @@ namespace UnitTest ); - TestLib( - CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrt.lib)", - L"ucrt", - L"arm", - { L"Dynamic", L"Static" }, - { L"6.2.9200.0" }, - Info - ); + //TestLib( + // CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrt.lib)", + // L"ucrt", + // L"arm", + // { L"Dynamic", L"Static" }, + // { L"6.2.9200.0" }, + // Info + // ); } TEST_METHOD(ucrt_msvcrt_Debug模式所有符号可以被链接) @@ -532,14 +532,14 @@ namespace UnitTest ); - TestLib( - CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrtd.lib)", - L"ucrt", - L"arm", - { L"DDynamic", L"DStatic" }, - { L"6.2.9200.0" }, - Info - ); + //TestLib( + // CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrtd.lib)", + // L"ucrt", + // L"arm", + // { L"DDynamic", L"DStatic" }, + // { L"6.2.9200.0" }, + // Info + // ); } TEST_METHOD(ucrt_ucrt模式所有符号可以被链接) @@ -567,14 +567,14 @@ namespace UnitTest Info ); - TestLib( - CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrt.lib)", - L"ucrt", - L"arm", - { L"Dynamic", L"Static" }, - { L"10.0.10240.0", L"10.0.19041.0" }, - Info - ); + //TestLib( + // CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrt.lib)", + // L"ucrt", + // L"arm", + // { L"Dynamic", L"Static" }, + // { L"10.0.10240.0", L"10.0.19041.0" }, + // Info + // ); TestLib( CurrentUniversalCRTSdkDir LR"(ucrt\arm64\ucrt.lib)", @@ -613,14 +613,14 @@ namespace UnitTest Info ); - TestLib( - CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrtd.lib)", - L"ucrt", - L"arm", - { L"DDynamic", L"DStatic" }, - { L"10.0.10240.0", L"10.0.19041.0" }, - Info - ); + //TestLib( + // CurrentUniversalCRTSdkDir LR"(ucrt\arm\ucrtd.lib)", + // L"ucrt", + // L"arm", + // { L"DDynamic", L"DStatic" }, + // { L"10.0.10240.0", L"10.0.19041.0" }, + // Info + // ); TestLib( CurrentUniversalCRTSdkDir LR"(ucrt\arm64\ucrtd.lib)", diff --git a/UnitTest/detect_mismatch_UnitTest.cpp b/UnitTest/detect_mismatch_UnitTest.cpp index 52c1f2c..9a8651c 100644 --- a/UnitTest/detect_mismatch_UnitTest.cpp +++ b/UnitTest/detect_mismatch_UnitTest.cpp @@ -63,15 +63,15 @@ namespace UnitTest BuildProperty ); - RunTest( - pTestCode, - cbTestCode, - DetectName, - L"arm", - { L"Dynamic", L"Static", L"DDynamic", L"DStatic" }, - { L"6.2.9200.0", L"10.0.10240.0", L"10.0.19041.0" }, - BuildProperty - ); + //RunTest( + // pTestCode, + // cbTestCode, + // DetectName, + // L"arm", + // { L"Dynamic", L"Static", L"DDynamic", L"DStatic" }, + // { L"6.2.9200.0", L"10.0.10240.0", L"10.0.19041.0" }, + // BuildProperty + //); RunTest( pTestCode, @@ -103,4 +103,4 @@ namespace UnitTest } } }; -} \ No newline at end of file +}