summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-numpy/files/run-ptest
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-28 23:47:59 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-30 14:42:22 +0000
commit0ac99625bf2c8a19d4ee746dc13e9c6b2e1956e2 (patch)
treee922ba1370d8c53f7ebc7cd2b3ee2abc00711089 /meta/recipes-devtools/python-numpy/files/run-ptest
parent37259ebab2cde325628068b4a8af0d73a952969e (diff)
downloadpoky-0ac99625bf2c8a19d4ee746dc13e9c6b2e1956e2.tar.gz
python3-numpy: Add ptest
Since 1.15, numpy have replaced nose with pytest testing framework it additionally needs hypothesis and sortedcontainers modules (From OE-Core rev: 13ff38ffd216fcd7044d7a0f46c8907d64ce3f6e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/files/run-ptest')
-rw-r--r--meta/recipes-devtools/python-numpy/files/run-ptest5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/run-ptest b/meta/recipes-devtools/python-numpy/files/run-ptest
new file mode 100644
index 0000000000..9a1c72aeb1
--- /dev/null
+++ b/meta/recipes-devtools/python-numpy/files/run-ptest
@@ -0,0 +1,5 @@
1#!/usr/bin/env python3
2
3import numpy
4numpy.test(label='full', verbose=2)
5