mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
14 lines
296 B
Plaintext
Executable File
14 lines
296 B
Plaintext
Executable File
#! /usr/bin/expect
|
|
|
|
set cmd [lindex $argv 0];
|
|
set outfile [lindex $argv 1];
|
|
|
|
set timeout 1200
|
|
log_file -noappend $outfile
|
|
eval spawn $cmd
|
|
expect {
|
|
"Tests EOF!" { puts "Tests completed in time, EOF found." }
|
|
timeout { puts "Tests FAILED, timeout waiting tests EOF."; exit 1 }
|
|
}
|
|
send \003
|