OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [testsuite/] [gdb.gdbtk/] [browser.exp] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Copyright 1998, 1999, 2001 Red Hat, Inc.
2
#
3
# This program is free software; you can redistribute it and/or modify it
4
# under the terms of the GNU General Public License (GPL) as published by
5
# the Free Software Foundation; either version 2 of the License, or (at
6
# your option) any later version.
7
#
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
# GNU General Public License for more details.
12
 
13
if {[gdbtk_initialize_display]} {
14
  if {$tracelevel} {
15
    strace $tracelevel
16
  }
17
 
18
  #
19
  # test browser window
20
  #
21
  set prms_id 0
22
  set bug_id 0
23
 
24
  set testfile "stack"
25
  set binfile ${objdir}/${subdir}/${testfile}
26
  set r [gdb_compile "${srcdir}/${subdir}/stack1.c ${srcdir}/${subdir}/stack2.c" "${binfile}" executable {debug}]
27
  if  { $r != "" } {
28
    gdb_suppress_entire_file \
29
      "Testcase compile failed, so some tests in this file will automatically fail."
30
  }
31
 
32
  # Start with a fresh gdbtk
33
  gdb_exit
34
  set results [gdbtk_start [file join $srcdir $subdir browser.test]]
35
  set results [split $results \n]
36
 
37
  # Analyze results
38
  gdbtk_done $results
39
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.