[Docs] add additional info. to the FPGA testing document
authorDongju Chae <dongju.chae@samsung.com>
Mon, 31 May 2021 07:56:29 +0000 (16:56 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Thu, 3 Jun 2021 08:06:27 +0000 (17:06 +0900)
This patch adds additional info. to the FPGA testting document.

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

index 9b3dc98d338f862bad31c69426a7577d43ccbc9d..e06dce6e17ce8ca90c5cd40ea9bec40251f44759 100644 (file)
@@ -127,7 +127,7 @@ Any program in `unittests` can be runnable without arguments.
 ```
 
 Programs in `apptests` are linked to `libnpu-engine.so` and may require extra arguments.
-They may use test models stored in `/home/root/TRIV235_2TOPS` if necessary.
+They may use test models located in `/home/root/TRIV235_2TOPS` if necessary.
 - `TRIV235_2TOPS/NHWC`: test models with NHWC format
 - `TRIV235_2TOPS/TRIV2`: test models with TRIV2 format
 
@@ -139,6 +139,19 @@ The below shows example command lines for each apptest.
 # apptest_tvn_triv2
 [APPTEST] apptest_tvn_triv2: SKIPPED
 
+# apptest_tvn_triv2 -h
+Usage: apptest_tvn_triv2 [options] [model dir]
+Options:
+  -d <arg>       Set a device node path (e.g., /dev/triv2-0)
+  -n <arg>       Set output notimode [intr|polling]
+  -p <arg>       Set profile level [visa|layer]
+  -t             Enable trinity data format
+  -m             Mute stdout/stderr messages
+  -s             Enable run sync mode
+  -o             Enable output dump mode
+  -h             Show help messages
+[APPTEST] apptest_tvn_triv2: SKIPPED
+
 # apptest_tvn_triv2 TRIV235_2TOPS/NHWC/MOBILENET_V1
 [APPTEST] apptest_tvn_triv2: PASSED
 
@@ -148,7 +161,7 @@ The below shows example command lines for each apptest.
 # apptest_tvn_triv2_bulk TRIV235_2TOPS/TRIV2 -t
 [APPTEST] apptest_tvn_triv2_bulk: PASSED (98), FAILED (0)
 
-# apptest_tvn_triv2_dmabuf TRIV235_2TOPS/NHWC/MOBILENET_V1
+# apptest_tvn_triv2_dmabuf TRIV235_2TOPS/TRIV2/MOBILENET_V1
 [APPTEST] apptest_tvn_triv2_dmabuf: PASSED
 
 # apptest_tvn_triv2_preempt TRIV235_2TOPS/NHWC
@@ -197,10 +210,10 @@ The below shows example command lines for each apptest.
 # cat model.xml
 <testcases>
  <model name="mobilenet_v1" timeout="3000" priority="1">
-  <dirpath>TRIV235_2TOPS/MOBILENET_V1</dirpath>
+  <dirpath>TRIV235_2TOPS/NHWC/MOBILENET_V1</dirpath>
  </model>
  <model name="mobilenet_v2" timeout="1000" priority="2">
-  <dirpath>TRIV235_2TOPS/MOBILENET_V2</dirpath>
+  <dirpath>TRIV235_2TOPS/NHWC/MOBILENET_V2</dirpath>
  </model>
 </testcases>
 # apptest_tvn_triv2_xml model.xml