Collecting the iOS log

This commit is contained in:
Erjan Gavalji
2015-10-29 10:26:16 +02:00
parent c1b30428d0
commit d5eb8046de
2 changed files with 70 additions and 30 deletions

View File

@@ -8,10 +8,13 @@
#expect "TypeScript compilation complete"
#send \003
set outfile [lindex $argv 0];
set cmd [lindex $argv 0];
set outfile [lindex $argv 1];
set timeout 600
#spawn (adb logcat | tee ./__TESTRESULT__.txt)
log_file -noappend $outfile
spawn adb logcat
eval spawn $cmd
expect "=== ALL TESTS COMPLETE ==="
send \003