summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-support/lz4/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-test/recipes-support/lz4/files/run-ptest')
-rw-r--r--meta-agl-test/recipes-support/lz4/files/run-ptest17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-agl-test/recipes-support/lz4/files/run-ptest b/meta-agl-test/recipes-support/lz4/files/run-ptest
new file mode 100644
index 00000000..c662c60e
--- /dev/null
+++ b/meta-agl-test/recipes-support/lz4/files/run-ptest
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Define test work dir
+WORKDIR=@PTEST_PATH@/tests/
+
+# Run test
+cd ${WORKDIR}
+
+case_name="test_frame"
+./frametest
+ret=$?
+if [[ ${ret} == "0" ]]; then
+ echo "PASS: lz4/$case_name"
+else
+ echo "FAIL: lz4/$case_name"
+fi
+