[Docs] Add the detail test lists
authorDongju Chae <dongju.chae@samsung.com>
Thu, 3 Jun 2021 09:31:47 +0000 (18:31 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Fri, 4 Jun 2021 05:29:09 +0000 (14:29 +0900)
This patch adds the detail test lists.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
docs/markdown/TestingGuide.md

index e06dce6..11d7892 100644 (file)
@@ -92,8 +92,29 @@ NPU-DDK supports two types of test programs: `unittest` and `apptests`.
 - `unittest`: Programs testing basic features
 - `apptest`: Programs testing advanced features, linked to npu-engine library
 
-Any program in `unittests` can be runnable without arguments.
+The below describes the list of available unittests.
+```
+root@xilinx-zcu102-2019_2:~# ls -al /usr/lib/npu-engine/bin/unittests
+total 5744
+drwxr-xr-x 2 root root   4096 May 28 05:24 .
+drwxr-xr-x 5 root root   4096 May 28 05:27 ..
+-rwxr-xr-x 1 root root 424040 May 28 05:27 unittest_ne_core_buffer
+-rwxr-xr-x 1 root root 280664 May 28 05:27 unittest_ne_core_comm
+-rwxr-xr-x 1 root root 415848 May 28 05:27 unittest_ne_core_data
+-rwxr-xr-x 1 root root 530536 May 28 05:27 unittest_ne_core_handler
+-rwxr-xr-x 1 root root 448616 May 28 05:27 unittest_ne_core_hwmem
+-rwxr-xr-x 1 root root 436336 May 28 05:27 unittest_ne_core_inputservice
+-rwxr-xr-x 1 root root 428136 May 28 05:27 unittest_ne_core_mem
+-rwxr-xr-x 1 root root 456808 May 28 05:27 unittest_ne_core_model
+-rwxr-xr-x 1 root root 358512 May 28 05:27 unittest_ne_core_npu
+-rwxr-xr-x 1 root root 436328 May 28 05:27 unittest_ne_core_sched
+-rwxr-xr-x 1 root root 424048 May 28 05:27 unittest_ne_core_segment_table
+-rwxr-xr-x 1 root root 407664 May 28 05:27 unittest_ne_core_thread_pool
+-rwxr-xr-x 1 root root 313432 May 28 05:27 unittest_ne_core_utils
+-rwxr-xr-x 1 root root 485488 May 28 05:27 unittest_ne_libnpuhost
+```
 
+Any program in `unittests` can be runnable without arguments.
 ```
 # pwd
 /home/root
@@ -126,11 +147,25 @@ Any program in `unittests` can be runnable without arguments.
 [  PASSED  ] 4 tests.
 ```
 
-Programs in `apptests` are linked to `libnpu-engine.so` and may require extra arguments.
-They may use test models located in `/home/root/TRIV235_2TOPS` if necessary.
+The below describes the list of available apptests.
+```
+root@xilinx-zcu102-2019_2:~# ls -al /usr/lib/npu-engine/bin/apptests
+total 252
+drwxr-xr-x 2 root root  4096 May 28 05:24 .
+drwxr-xr-x 5 root root  4096 May 28 05:27 ..
+-rwxr-xr-x 1 root root 38976 May 28 05:27 apptest_tvn_triv2
+-rwxr-xr-x 1 root root 38984 May 28 05:27 apptest_tvn_triv2_bulk
+-rwxr-xr-x 1 root root 43080 May 28 05:27 apptest_tvn_triv2_dmabuf
+-rwxr-xr-x 1 root root 38984 May 28 05:27 apptest_tvn_triv2_preempt
+-rwxr-xr-x 1 root root 38984 May 28 05:27 apptest_tvn_triv2_profile
+-rwxr-xr-x 1 root root 38984 May 28 05:27 apptest_tvn_triv2_xml
+```
+
+They may use test models stored in `/home/root/TRIV235_2TOPS` if necessary.
 - `TRIV235_2TOPS/NHWC`: test models with NHWC format
 - `TRIV235_2TOPS/TRIV2`: test models with TRIV2 format
 
+Programs in `apptests` are linked to `libnpu-engine.so` and may require extra arguments.
 The below shows example command lines for each apptest.
 ```
 # pwd