Files
NativeScript/expect.exp

21 lines
317 B
Plaintext
Executable File

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