[ltrace-commits] 03/06: Don't pass "c++" option explicitly to test cases now that it's deduced

Petr Machata pmachata-guest at moszumanska.debian.org
Tue Sep 2 13:26:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch pmachata/dima-rebase
in repository ltrace.

commit 8b4bc44f82193289848335bfd54fbcd1dd653d24
Author: Petr Machata <pmachata at redhat.com>
Date:   Tue Sep 2 15:12:57 2014 +0200

    Don't pass "c++" option explicitly to test cases now that it's deduced
---
 testsuite/ltrace.minor/demangle.exp     | 2 +-
 testsuite/ltrace.minor/libdl-simple.exp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/ltrace.minor/demangle.exp b/testsuite/ltrace.minor/demangle.exp
index 9dd7694..30e0d07 100644
--- a/testsuite/ltrace.minor/demangle.exp
+++ b/testsuite/ltrace.minor/demangle.exp
@@ -13,7 +13,7 @@ if [get_compiler_info $binfile "c++"] {
 }
 
 verbose "compiling source file now....."
-if { [ltrace_compile_shlib $libsrc $lib_sl [list debug c++]] != ""
+if { [ltrace_compile_shlib $libsrc $lib_sl debug] != ""
   || [ltrace_compile $srcdir/$subdir/$srcfile $objdir/$subdir/$binfile executable [list debug shlib=$lib_sl c++] ] != ""} {
   send_user "Testcase compile failed, so all tests in this file will automatically fail.\n"
 }
diff --git a/testsuite/ltrace.minor/libdl-simple.exp b/testsuite/ltrace.minor/libdl-simple.exp
index bb1b826..a52c9d2 100644
--- a/testsuite/ltrace.minor/libdl-simple.exp
+++ b/testsuite/ltrace.minor/libdl-simple.exp
@@ -11,7 +11,7 @@ if [get_compiler_info $binfile ""] {
 }
 
 # Build the shared libraries this test case needs.
-if  { [ltrace_compile_shlib $libsrc $lib_sl [debug]] != ""
+if  { [ltrace_compile_shlib $libsrc $lib_sl debug] != ""
       || [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executable {debug shlib=-ldl} ] != "" } {
      send_user "Testcase compile failed, so all tests in this file will automatically fail.\n"
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list