Skip to content

Commit 6cc8c23

Browse files
committed
docs: add unit test results and precautions
1 parent da0ca22 commit 6cc8c23

File tree

1 file changed

+47
-6
lines changed

1 file changed

+47
-6
lines changed

README.md

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,55 @@ _CFG_qnx710_inst_dir=~/qnx/qnx710/
2828
_CFG_tmp_dir=~/ort_700/
2929
```
3030

31+
There are a few things worth noting before you start:
32+
33+
- No two build scripts shall run at the same time as `/usr/bin/protoc` is
34+
globally overridden. Do not especially run two build scripts targeting
35+
different ORT versions.
36+
- If you have protobuf compiler installed here, please remember to back it up
37+
before running the build in case it is overwritten by another version.
38+
- Ensure that `miniconda` is not present or that it does not interfere with
39+
the header lookup mechanism.
40+
3141
Now you can run the build script and let it run until completion. No user
32-
interaction or sudo permissions are required.
42+
interaction is required.
43+
44+
```bash
45+
sudo ./build_qnx.sh
46+
```
3347

34-
One thing's worth noting is that no two build scripts shall run at the same
35-
time as `/usr/bin/protoc` is globally overridden. If you have protobuf compiler
36-
installed here, please remember to back it up before running the build in case
37-
it is overwritten with another version.
48+
### Tests
3849

3950
```bash
40-
./build_qnx.sh
51+
./onnxruntime_test_all
52+
```
53+
54+
Test results for onnxruntime-1.8.2-qnx700-aarch64le:
55+
56+
```
57+
[----------] Global test environment tear-down
58+
[==========] 2754 tests from 207 test suites ran. (58767 ms total)
59+
[ PASSED ] 2752 tests.
60+
[ FAILED ] 2 tests, listed below:
61+
[ FAILED ] PathTest.trailing_slash2
62+
[ FAILED ] ContribOpTest.StringNormalizerTest
63+
64+
2 FAILED TESTS
65+
YOU HAVE 5 DISABLED TESTS
66+
```
67+
68+
Test results for onnxruntime-1.14.1-qnx710-aarch64le:
69+
70+
```
71+
[----------] Global test environment tear-down
72+
[==========] 3509 tests from 249 test suites ran. (32834 ms total)
73+
[ PASSED ] 3504 tests.
74+
[ SKIPPED ] 5 tests, listed below:
75+
[ SKIPPED ] TunableOp.SelectFast
76+
[ SKIPPED ] TunableOp.SelectSupported
77+
[ SKIPPED ] TunableOp.SelectFastestIfSupported
78+
[ SKIPPED ] TunableOp.DisabledWithManualSelection
79+
[ SKIPPED ] TunableOp.HandleInplaceUpdate
80+
81+
YOU HAVE 7 DISABLED TESTS
4182
```

0 commit comments

Comments
 (0)