# NOTE Fixed backend assignment by type of operation
# TODO Enhance this with randomized test
-BACKENDS=(cpu acl_cl acl_neon)
+BACKENDS=(cpu acl_neon)
-# Get the intersect of framework test list files(each backend has a lsit)
+# Get the intersect of framework test list files
+# acl_cl is default. Other backends have own test list
TESTLIST_PREFIX="tests/scripts/neurun_frameworktest_list.armv7l"
cat $TESTLIST_PREFIX.${BACKENDS[0]}.txt | sort > $TESTLIST_PREFIX.intersect.txt
-for BACKEND in $BACKENDS; do
+for BACKEND in "${BACKENDS[@]}"; do
comm -12 <(sort $TESTLIST_PREFIX.intersect.txt) <(sort $TESTLIST_PREFIX.$BACKEND.txt) > $TESTLIST_PREFIX.intersect.next.txt
mv $TESTLIST_PREFIX.intersect.next.txt $TESTLIST_PREFIX.intersect.txt
done