Files
NativeScript/expect.exp
2015-10-29 10:26:16 +02:00

21 lines
333 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 "=== ALL TESTS COMPLETE ==="
send \003