os/kernelhwsrv/kerneltest/e32test/nkernsa/main.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32test\nkernsa\main.cpp
    15 // 
    16 //
    17 
    18 #include <nktest/nkutils.h>
    19 
    20 extern void TestFastSemaphore();
    21 extern void TestFastMutex();
    22 extern void TestSuspendKillMigrate();
    23 extern void BasicThreadTests();
    24 extern void TestIPI();
    25 extern void TestDFCs();
    26 extern void TestWaitFreePipe();
    27 extern void BenchmarkTests();
    28 extern void TestRWSpinLock();
    29 extern void TestTiedEvents();
    30 
    31 void Main(TAny*)
    32 	{
    33 	BenchmarkTests();
    34 
    35 	TestWaitFreePipe();
    36 
    37 	TestFastSemaphore();
    38 
    39 	TestIPI();
    40 
    41 	BasicThreadTests();
    42 
    43 	TestDFCs();
    44 
    45 	TestTiedEvents();
    46 
    47 	TestRWSpinLock();
    48 
    49 //	InitBTraceHandler();
    50 //	StartBTrace();
    51 
    52 	TestFastMutex();
    53 
    54 	TestSuspendKillMigrate();
    55 
    56 //	DumpBTraceBuffer();
    57 
    58 	TEST_PRINT("Tests Completed");
    59 
    60 	__finish();
    61 	}
    62