summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-events.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-events.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-events.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-events.exp b/gdb/testsuite/gdb.python/py-events.exp
index a9ababbc40..94762739cd 100644
--- a/gdb/testsuite/gdb.python/py-events.exp
+++ b/gdb/testsuite/gdb.python/py-events.exp
@@ -38,6 +38,8 @@ clean_restart ${testfile}
if { [skip_python_tests] } { continue }
+gdb_test_no_output "python import gdb.events"
+
set pyfile [gdb_remote_download host ${srcdir}/${subdir}/py-events.py]
gdb_test_no_output "source ${pyfile}" "load python file"