```
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
# 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
# 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
# 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