Skip to content

Commit

Permalink
increase timeout to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 9, 2023
1 parent b95aa1e commit 6249d71
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion cmd/tools/vcreate/tests/new_with_model_arg.expect
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/expect

set timeout 3

# Pass v_root as arg, since we chdir into a temp directory during testing and create a project there.
set v_root [lindex $argv 0]
set project_name [lindex $argv 1]
Expand Down
1 change: 0 additions & 1 deletion cmd/tools/vcreate/tests/new_with_name_arg.expect
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/expect

set timeout 3

# Pass v_root as arg, since we chdir into a temp directory during testing and create a project there.
set v_root [lindex $argv 0]
set project_name [lindex $argv 1]
Expand Down
1 change: 0 additions & 1 deletion cmd/tools/vcreate/tests/new_with_no_arg.expect
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/expect

set timeout 3

# Pass v_root as arg, since we chdir into a temp directory during testing and create a project there.
set v_root [lindex $argv 0]
set project_name [lindex $argv 1]
Expand Down
2 changes: 1 addition & 1 deletion examples/password/tests/correct.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]

spawn $v_root/v run $v_root/examples/password/password.v
Expand Down
2 changes: 1 addition & 1 deletion examples/password/tests/incorrect.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]

spawn $v_root/v run $v_root/examples/password/password.v
Expand Down
2 changes: 1 addition & 1 deletion examples/password/tests/output_from_expect_arg.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]
# Send expected output as arg to re-use the script for testing incorrect values.
set expect_ [lindex $argv 0]
Expand Down
2 changes: 1 addition & 1 deletion examples/readline/tests/readline.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]

spawn $v_root/v run $v_root/examples/readline/readline.v
Expand Down
3 changes: 1 addition & 2 deletions examples/readline/tests/readline_from_expect_arg.expect
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/expect

set timeout 1

set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]
# Use input arguments for send and expect.
set send_ [lindex $argv 0]
Expand Down

0 comments on commit 6249d71

Please sign in to comment.