tfa-next: adapt to new feature list style

Change-Id: Ibd678383d4566025e89349edf78a09811b3400f2
Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
diff --git a/script/next-checks/next-checks-generic-tests.sh b/script/next-checks/next-checks-generic-tests.sh
index 16f5283..4ebf846 100755
--- a/script/next-checks/next-checks-generic-tests.sh
+++ b/script/next-checks/next-checks-generic-tests.sh
@@ -47,15 +47,16 @@
 
 if [ "$REPO_NAME" == "trusted-firmware-a" ]; then
   cd rust
-  declare -a all_features=($(make PLAT=${platform} --silent list_features))
+  # These tests are platform independent. However, we are specifying a platform:
+  #     The fvp platform is expected to cover all platform independent features that can be tested
+  #     with cargo test.
+  IFS=" " read -a all_features <<< "$(make PLAT=fvp --silent list_features)"
 else
-  declare -a all_features=($TEST_FEATURES)
+  IFS=" " read -a all_features <<< "$($TEST_FEATURES)"
 fi
 
-# append empty features by default
-all_features+=("")
-
 for features in "${all_features[@]}"; do
+    features=$(echo $features | sed "s/'//g")
     echo "cargo test features: '$features'" >> "$LOG_TEST_FILENAME" 2>&1
     cargo test --features=$features >> "$LOG_TEST_FILENAME" 2>&1