summaryrefslogtreecommitdiffstats
path: root/recipes-core/mkl-dnn/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/mkl-dnn/files/run-ptest')
-rwxr-xr-xrecipes-core/mkl-dnn/files/run-ptest15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-core/mkl-dnn/files/run-ptest b/recipes-core/mkl-dnn/files/run-ptest
new file mode 100755
index 00000000..82d4df58
--- /dev/null
+++ b/recipes-core/mkl-dnn/files/run-ptest
@@ -0,0 +1,15 @@
1#!/bin/sh
2
3cd tests
4./api-c
5if [ $? -eq 0 ]; then
6 echo 'PASS: api-c'
7else
8 echo 'FAIL: api-c'
9fi
10./test_c_symbols-c
11if [ $? -eq 0 ]; then
12 echo 'PASS: test_c_symbols-c'
13else
14 echo 'FAIL: test_c_symbols-c'
15fi