mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix the grunt file. Fix uninstallation. Add a tee command
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
|
||||
|
||||
set timeout 600
|
||||
spawn adb logcat
|
||||
expect 'Done.'
|
||||
spawn adb logcat | tee __TESTRESULT__.txt
|
||||
expect '=== ALL TESTS COMPLETE ==='
|
||||
send \003
|
||||
|
||||
@@ -388,8 +388,8 @@ module.exports = function(grunt) {
|
||||
// "adb install ./platforms/android/build/outputs/apk/TestsApp-debug.apk",
|
||||
// "adb shell am start -n org.nativescript.TestsApp/com.tns.NativeScriptActivity",
|
||||
//// "expect -c '
|
||||
].join(" && ")
|
||||
}
|
||||
// ].join(" && ")
|
||||
// }
|
||||
},
|
||||
multidest: {
|
||||
copyLicenseFiles: {
|
||||
|
||||
@@ -48,7 +48,7 @@ cd $workingdir
|
||||
|
||||
echo "------------------------------------------------"
|
||||
echo "Uninstalling the app..."
|
||||
time adb uninstall org.nativescript.TestApp
|
||||
time adb uninstall org.nativescript.TestsApp
|
||||
|
||||
echo "------------------------------------------------"
|
||||
echo "Installing the app..."
|
||||
|
||||
Reference in New Issue
Block a user