diff options
Diffstat (limited to 'meta-oe/recipes-extended/7zip/bit7z/run-ptest')
-rw-r--r-- | meta-oe/recipes-extended/7zip/bit7z/run-ptest | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/7zip/bit7z/run-ptest b/meta-oe/recipes-extended/7zip/bit7z/run-ptest new file mode 100644 index 0000000000..dd1776cab6 --- /dev/null +++ b/meta-oe/recipes-extended/7zip/bit7z/run-ptest | |||
@@ -0,0 +1,18 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Disabled tests: | ||
4 | # "winapi: Allocating BSTR string from nullptr C strings" | ||
5 | # this test is memory hungry, it allocates 800MB chunks | ||
6 | # it succeeds when there is enough free RAM, but most machines don't have it | ||
7 | |||
8 | if /usr/lib/bit7z/ptest/bit7z-tests ~"winapi: Allocating BSTR string from nullptr C strings"; then | ||
9 | echo "PASS: bit7z-tests" | ||
10 | else | ||
11 | echo "FAIL: bit7z-tests" | ||
12 | fi | ||
13 | |||
14 | if /usr/lib/bit7z/ptest/bit7z-tests-public; then | ||
15 | echo "PASS: bit7z-tests-public" | ||
16 | else | ||
17 | echo "FAIL: bit7z-tests-public" | ||
18 | fi | ||