1f08c3bdfSopenharmony_ciCoverage-Area: Semaphores (SEM) 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_ci/* 4f08c3bdfSopenharmony_ciCOVERAGE DOCUMENT FOR SEMAPHORES 5f08c3bdfSopenharmony_ci============================ 6f08c3bdfSopenharmony_ci 7f08c3bdfSopenharmony_ciThis document lists the items that will be tested for POSIX semaphore. 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_ci Item to Test Status 10f08c3bdfSopenharmony_ci========================================================== 11f08c3bdfSopenharmony_ci|| Definitions NOT STARTED || 12f08c3bdfSopenharmony_ci|| Behavior IN PROGRESS || 13f08c3bdfSopenharmony_ci|| Functionality NOT STARTED || 14f08c3bdfSopenharmony_ci|| Stress NOT STARTED || 15f08c3bdfSopenharmony_ci========================================================== 16f08c3bdfSopenharmony_ci*/ 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_ci// Function Complete? Priority 19f08c3bdfSopenharmony_ci// ================================================= 20f08c3bdfSopenharmony_cisem_close YES HIGH 21f08c3bdfSopenharmony_cisem_destroy YES HIGH 22f08c3bdfSopenharmony_cisem_getvalue YES MED 23f08c3bdfSopenharmony_cisem_init YES HIGH 24f08c3bdfSopenharmony_cisem_open YES HIGH 25f08c3bdfSopenharmony_cisem_post YES HIGH 26f08c3bdfSopenharmony_cisem_timedwait YES MED 27f08c3bdfSopenharmony_cisem_trywait YES HIGH 28f08c3bdfSopenharmony_cisem_wait YES HIGH 29f08c3bdfSopenharmony_cisem_unlink YES HIGH 30f08c3bdfSopenharmony_ci// =================================================== 31f08c3bdfSopenharmony_ci/* 32f08c3bdfSopenharmony_ci 33f08c3bdfSopenharmony_ciCompile: 34f08c3bdfSopenharmony_ci======== 35f08c3bdfSopenharmony_ciSee the BUILD file in the main directory for the most up-to-date 36f08c3bdfSopenharmony_ciinformation on how to compile tests from within the framework. 37f08c3bdfSopenharmony_ci 38f08c3bdfSopenharmony_ciThe way I'm compiling these test individually by: 39f08c3bdfSopenharmony_ci 40f08c3bdfSopenharmony_ci root# gcc 1-1.c -o 1-1 /usr/lib/libposix1b.a 41f08c3bdfSopenharmony_ci 42f08c3bdfSopenharmony_ci 43f08c3bdfSopenharmony_ci 44f08c3bdfSopenharmony_ciClean up: 45f08c3bdfSopenharmony_ci========= 46f08c3bdfSopenharmony_cifile: cln.sh is a file to clean any open semaphores on the system if they remain 47f08c3bdfSopenharmony_ciopen after running such test. 48f08c3bdfSopenharmony_ci 49f08c3bdfSopenharmony_ci 50f08c3bdfSopenharmony_ci*/ 51f08c3bdfSopenharmony_ciMaintainer: Majid Awad 52