]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.python/py-record-btrace.exp
Use "require" for Python tests
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / py-record-btrace.exp
index 38c326f555f67560a48c5536064dd6cde16a4acc..1326e8283b9b3b69f1d1850c5d99d2c9ed37692a 100644 (file)
@@ -17,7 +17,7 @@
 
 # Skip this test if btrace is disabled.
 
-require !skip_btrace_tests
+require !skip_btrace_tests !skip_python_tests
 
 load_lib gdb-python.exp
 
@@ -25,13 +25,6 @@ standard_testfile
 
 if [prepare_for_testing "failed to prepare" $testfile $srcfile] { return -1 }
 
-# Skip this test if python is disabled.
-
-if { [skip_python_tests] } {
-    untested "skipping python tests"
-    return -1
-}
-
 if {![runto_main]} {
     return -1
 }