Fix the grunt file. Fix uninstallation. Add a tee command

This commit is contained in:
Erjan Gavalji
2015-10-07 17:11:17 +03:00
parent c23ce6481c
commit 0f670c8987
3 changed files with 5 additions and 5 deletions

View File

@@ -10,6 +10,6 @@
set timeout 600
spawn adb logcat
expect 'Done.'
spawn adb logcat | tee __TESTRESULT__.txt
expect '=== ALL TESTS COMPLETE ==='
send \003

View File

@@ -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: {

View File

@@ -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..."