Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
1928d1c0
Commit
1928d1c0
authored
7 years ago
by
Hauke Petersen
Browse files
Options
Downloads
Patches
Plain Diff
tools/testrunner: wait 3s after 'make term'
parent
bf70d8e8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dist/tools/testrunner/testrunner.py
+5
-0
5 additions, 0 deletions
dist/tools/testrunner/testrunner.py
with
5 additions
and
0 deletions
dist/tools/testrunner/testrunner.py
+
5
−
0
View file @
1928d1c0
...
...
@@ -10,10 +10,15 @@
import
os
,
signal
,
sys
,
subprocess
from
pexpect
import
spawnu
,
TIMEOUT
,
EOF
from
traceback
import
print_tb
import
time
def
run
(
testfunc
,
timeout
=
10
,
echo
=
True
,
traceback
=
False
):
env
=
os
.
environ
.
copy
()
child
=
spawnu
(
"
make term
"
,
env
=
env
,
timeout
=
timeout
)
# on many platforms, the termprog needs a short while to be ready...
time
.
sleep
(
3
)
if
echo
:
child
.
logfile
=
sys
.
stdout
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment