Blame SOURCES/gdb-6.3-test-self-20050110.patch

5ad05e
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
5ad05e
From: Elena Zannoni <ezannoni@redhat.com>
5ad05e
Date: Fri, 27 Oct 2017 21:07:50 +0200
5ad05e
Subject: gdb-6.3-test-self-20050110.patch
5ad05e
5ad05e
;; Get selftest working with sep-debug-info
5ad05e
;;=fedoratest
5ad05e
5ad05e
2004-02-23  Elena Zannoni  <ezannoni@redhat.com>
5ad05e
5ad05e
        * gdb.gdb/selftest.exp: Make sure that the debug directory is
5ad05e
        set up properly.
5ad05e
        * gdb.gdb/complaints.exp: Ditto.
5ad05e
        * gdb.gdb/xfullpath.exp: Ditto.
5ad05e
        * gdb.gdb/observer.exp: Ditto.
5ad05e
5ad05e
diff --git a/gdb/testsuite/lib/selftest-support.exp b/gdb/testsuite/lib/selftest-support.exp
5ad05e
--- a/gdb/testsuite/lib/selftest-support.exp
5ad05e
+++ b/gdb/testsuite/lib/selftest-support.exp
5ad05e
@@ -151,18 +151,18 @@ proc do_self_tests {function body} {
5ad05e
     }
5ad05e
 
5ad05e
     # Remove any old copy lying around.
5ad05e
-    remote_file host delete $xgdb
5ad05e
+    #remote_file host delete $xgdb
5ad05e
 
5ad05e
     gdb_start
5ad05e
-    set file [remote_download host $GDB_FULLPATH $xgdb]
5ad05e
+    #set file [remote_download host $GDB_FULLPATH $xgdb]
5ad05e
 
5ad05e
-    set result [selftest_setup $file $function]
5ad05e
+    set result [selftest_setup $GDB_FULLPATH $function]
5ad05e
     if {$result == 0} then {
5ad05e
 	set result [uplevel $body]
5ad05e
     }
5ad05e
 
5ad05e
     gdb_exit
5ad05e
-    catch "remote_file host delete $file"
5ad05e
+    #catch "remote_file host delete $file"
5ad05e
 
5ad05e
     if {$result < 0} then {
5ad05e
 	warning "Couldn't test self"