[Android] Build: fix command to run unit tests

Duncan McNamara git at videolan.org
Mon Dec 13 13:39:59 UTC 2021


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Dec  9 15:55:01 2021 +0100| [fc7f44763aded419c0c38ba93f438c674fa4e806] | committer: Nicolas Pomepuy

Build: fix command to run unit tests

> https://code.videolan.org/videolan/vlc-android/commit/fc7f44763aded419c0c38ba93f438c674fa4e806
---

 buildsystem/compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index 302ac9a56..019d2e7c3 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -425,7 +425,7 @@ else
         GRADLE_VLC_SRC_DIRS="$GRADLE_VLC_SRC_DIRS" CLI="" GRADLE_ABI=$GRADLE_ABI ./gradlew -Dmaven.repo.local=$M2_REPO $TARGET
 
         echo -e "\n===================================\nRun following for UI tests:"
-        echo "adb shell am instrument -w -e package org.videolan.vlc.gui org.videolan.vlc.debug.test/org.videolan.vlc.MultidexTestRunner 1> result_UI_test.txt"
+        echo "adb shell am instrument -w -m -e clearPackageData true   -e package org.videolan.vlc -e debug false org.videolan.vlc.debug.test/org.videolan.vlc.MultidexTestRunner 1> result_UI_test.txt"
     fi
 fi
 



More information about the Android mailing list