summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-07-12 16:26:55 -0400
committerScott Murray <scott.murray@konsulko.com>2020-07-12 16:49:57 -0400
commita357a6af0cf515883dfa26fd2cb80ac055a491de (patch)
tree6ac16a50c4b2f62986b6b436dbf289ea5af67d05
parentdc06c9d93176db61ab9f979ef4d8105f99e102ad (diff)
At some point the synchronous running of the test verbs seems to have stopped working, and it's going to take further digging into afb-client-demo, afb-test, and maybe app-framework-binder to work out what current expected behavior should be and what, if any, fix is required. For now, remove the explicit kill of the test binding that is being done by the launcher script, so that the wait loop in afm-test will let all of the tests run. There is also a "afm-util kill" call in afm-test, but its wait loop may need the addition of a timeout option to improve robustness with respect to tests potentially hanging. Some unused variables and FIFOs from an older wait scheme based on test output have also been removed from the launcher script to avoid confusion. Bug-AGL: SPEC-3466 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8f9fcd7dfef2c983a9d46a2f190432c07cdd5db3
-rw-r--r--src/test-wgt/launcher.sh.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test-wgt/launcher.sh.in b/src/test-wgt/launcher.sh.in
index 1dac914..a0ec0f7 100644
--- a/src/test-wgt/launcher.sh.in
+++ b/src/test-wgt/launcher.sh.in
@@ -27,11 +27,6 @@ TOKEN=$2
CFGFILE=$(find ${AFM_APP_INSTALL_DIR} -name "*json" -print | head -n1)
API=$(grep '\"api\"' ${CFGFILE} | cut -d'"' -f4)
-AFBCLIENTIN=$(mktemp -u)
-AFBCLIENTOUT=$(mktemp -u)
-mkfifo $AFBCLIENTIN
-mkfifo $AFBCLIENTOUT
-
declare -a testVerb
if [[ $(jq -r '.testVerb|type' $CFGFILE) == "array" ]]
@@ -65,5 +60,3 @@ for (( idx=0; idx<testVerbLength; idx++ )) do
echo "Launching ${testVerb[$idx]}"
afb-client-demo -s ws://localhost:${PORT}/api?token=${TOKEN} "$API" "${testVerb[$idx]}" "${VERBARGS}"
done
-
-afb-client-demo ws://localhost:${PORT}/api?token=${TOKEN} "$API" "exit"