Files
NativeScript/expect.exp

18 lines
306 B
Plaintext
Executable File

#! /usr/bin/expect
#exp_internal 1
#set timeout 600
#spawn grunt
#expect "TypeScript compilation complete"
#send \003
set outfile [lindex $argv 0];
set timeout 600
#spawn (adb logcat | tee ./__TESTRESULT__.txt)
log_file -noappend $outfile
spawn adb logcat
expect "=== ALL TESTS COMPLETE ==="
send \003