From 2bc1ec351a3e5a06c1069083126655d6b2c1778c Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Wed, 25 Jun 2008 10:02:11 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=98=E3=83=83=E3=83=80=E3=81=ABENABLE=5FCO?= =?UTF-8?q?NTENT=5FTEST=E3=82=920=E3=81=A7=E5=AE=9A=E7=BE=A9=EF=BC=881?= =?UTF-8?q?=E3=81=AB=E3=81=99=E3=82=8B=E3=81=A8content=E3=81=AE=E3=83=81?= =?UTF-8?q?=E3=82=A7=E3=83=83=E3=82=AF=E6=9C=89=E5=8A=B9=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1698 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/tests/RomTypeTest/ARM9/src/RomTypeTest.c | 8 ++++++++ build/tests/RomTypeTest/ARM9/src/RomTypeTest.h | 1 + 2 files changed, 9 insertions(+) diff --git a/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c b/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c index 3696e6cf..4515c333 100644 --- a/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c +++ b/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c @@ -311,7 +311,9 @@ static void TestFSPermission( void ) result[0] = RWTest( "nand:" ); // nand: result[1] = RWTest( "nand2:" ); // nand2: +#if (ENABLE_CONTENT_TEST == 1) result[2] = ContentTest(); // content: +#endif result[3] = Shared1Test(); // shared1: result[4] = RWTest( "shared2:" ); // shared2: result[5] = RWTest( "photo:" ); // photo: @@ -334,12 +336,18 @@ static void TestFSPermission( void ) OS_TPrintf( "Correct Answer:\n" ); for( l=0; l<15; l++ ) { +#if (ENABLE_CONTENT_TEST == 0) + if(l==2) continue; // contentチェック飛ばし +#endif OS_TPrintf( "%s ", ( s_answer_data[s_testnum][l] ? "○" : "×" ) ); } OS_TPrintf( "\n" ); OS_TPrintf( "Result:\n" ); for( l=0; l<15; l++ ) { +#if (ENABLE_CONTENT_TEST == 0) + if(l==2) continue; // contentチェック飛ばし +#endif OS_TPrintf( "%s ", ( result[l] ? "○" : "×" ) ); PutStringUTF16( 3 * 8 + l*14, 14 * 8, TXT_COLOR_BLACK, (const u16 *)( s_answer_data[s_testnum][l] ? L"○" : L"×" )); PutStringUTF16( 3 * 8 + l*14, 16 * 8, ( result[l]==s_answer_data[s_testnum][l] ? TXT_COLOR_BLUE : TXT_COLOR_RED ), diff --git a/build/tests/RomTypeTest/ARM9/src/RomTypeTest.h b/build/tests/RomTypeTest/ARM9/src/RomTypeTest.h index a961a501..6c5f1b5a 100644 --- a/build/tests/RomTypeTest/ARM9/src/RomTypeTest.h +++ b/build/tests/RomTypeTest/ARM9/src/RomTypeTest.h @@ -22,6 +22,7 @@ extern "C" { #endif +#define ENABLE_CONTENT_TEST 0 #include