diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2000-06-06 00:38:10 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2000-06-06 00:38:10 +0000 |
commit | 55b13a653e6f73b82347cba05d8397860c4b0b76 (patch) | |
tree | 688629428dd9d5fb792f7848ea9c6b43d96c0007 /gdb/testsuite | |
parent | 4a9383286c09346f8b277a713ee9e7be9e515851 (diff) | |
download | gdb-55b13a653e6f73b82347cba05d8397860c4b0b76.zip gdb-55b13a653e6f73b82347cba05d8397860c4b0b76.tar.gz gdb-55b13a653e6f73b82347cba05d8397860c4b0b76.tar.bz2 |
Revert an accidental commit
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/gdb.c++/ctti.exp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.c++/ctti.exp b/gdb/testsuite/gdb.c++/ctti.exp index fb16b22..b8c7cc9 100644 --- a/gdb/testsuite/gdb.c++/ctti.exp +++ b/gdb/testsuite/gdb.c++/ctti.exp @@ -1,4 +1,4 @@ -`# Copyright (C) 1998, 1999 Free Software Foundation, Inc. +# Copyright (C) 1998 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -29,7 +29,10 @@ if $tracelevel then { strace $tracelevel } -if { [skip_cplus_tests] } { continue } + +# Check to see if we have an executable to test. If not, then either we +# haven't tried to compile one, or the compilation failed for some reason. +# In either case, just notify the user and skip the tests in this file. set testfile "cttiadd" set srcfile ${testfile}.cc @@ -42,14 +45,15 @@ if [get_compiler_info ${binfile} "c++"] { return -1; } +if { $gcc_compiled } then { continue } -if { [gdb_compile "${srcdir}/${subdir}/${srcfile} ${srcdir}/${subdir}/${srcfile1} ${srcdir}/${subdir}/${srcfile2} ${srcdir}/${subdir}/${srcfile3}" "${binfile}" executable {debug c++}] != "" } { - gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." -} +#if { [gdb_compile "${srcdir}/${subdir}/${srcfile} ${srcdir}/${subdir}/${srcfile1} ${srcdir}/${subdir}/${srcfile2} ${srcdir}/${subdir}/${srcfile3}" "${binfile}" executable {debug c++}] != "" } { +# gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." +#} -#set cmdline "$CXX_FOR_TARGET ${srcdir}/${subdir}/${srcfile} ${srcdir}/${subdir}/${srcfile1} ${srcdir}/${subdir}/${srcfile2} ${srcdir}/${subdir}/${srcfile3} -g -o ${binfile}" +set cmdline "$CXX_FOR_TARGET ${srcdir}/${subdir}/${srcfile} ${srcdir}/${subdir}/${srcfile1} ${srcdir}/${subdir}/${srcfile2} ${srcdir}/${subdir}/${srcfile3} -g -o ${binfile}" -#remote_exec build $cmdline +remote_exec build $cmdline gdb_exit gdb_start |