summaryrefslogtreecommitdiff
path: root/infra/packaging/chklist/TF2CIRCLE_RUNNABLE
diff options
context:
space:
mode:
Diffstat (limited to 'infra/packaging/chklist/TF2CIRCLE_RUNNABLE')
-rw-r--r--infra/packaging/chklist/TF2CIRCLE_RUNNABLE16
1 files changed, 16 insertions, 0 deletions
diff --git a/infra/packaging/chklist/TF2CIRCLE_RUNNABLE b/infra/packaging/chklist/TF2CIRCLE_RUNNABLE
new file mode 100644
index 000000000..597778ff4
--- /dev/null
+++ b/infra/packaging/chklist/TF2CIRCLE_RUNNABLE
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+function prepare()
+{
+ export QUESTION="Is it possible to run tf2circle?"
+}
+
+function run()
+{
+ BIN="${NNAS_INSTALL_PREFIX}/bin/tf2circle"
+ if [[ -f "${BIN}" ]]; then
+ if [[ $(ldd -r "${BIN}" | grep '^undefined' | wc -l) -eq 0 ]]; then
+ export PASSED=1
+ fi
+ fi
+}