]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
cruft removal
authorRoland McGrath <roland@redhat.com>
Tue, 30 Jun 2009 19:51:57 +0000 (12:51 -0700)
committerRoland McGrath <roland@redhat.com>
Tue, 30 Jun 2009 19:51:57 +0000 (12:51 -0700)
libdw/c++/dwarf_output
tests/run-dwarfcmp-self.sh

index 6c5fe5194bca88e10eb27f822f182746f4f4b191..65bff72f7e42e340b735e3cc914e72fd6a62da12 100644 (file)
@@ -295,35 +295,6 @@ namespace elfutils
     static inline const range_list &
     collect (dwarf_output_collector *, const typename input::range_list &);
 
-    template<typename input, typename output>
-    struct make_any
-      : public std::binary_function<typename input::value_type,
-                                   dwarf_output_collector *,
-                                   typename output::value_type>
-    {
-      inline typename output::value_type
-      operator () (const typename input::value_type &x,
-                  dwarf_output_collector *c)
-      {
-       return typename output::value_type (x, c);
-      }
-    };
-
-    template<typename input, typename output>
-    struct make_attribute
-      : public std::binary_function<typename input::value_type,
-                                   dwarf_output_collector *,
-                                   typename output::value_type>
-    {
-      inline typename output::value_type
-      operator () (const typename input::value_type &x,
-                  dwarf_output_collector *c)
-      {
-       return std::make_pair
-         (x.first, typename output::value_type::second_type (x.second, c));
-      }
-    };
-
     /* An iterator adapter for use in iterator-based constructors.
        collectify (iterator) yields an iterator on input where *i
        constructs output::value_type (input::value_type v, collector).  */
index 927083ed0c3edcb6be9997925523f6b3c9a7e495..6184ea7f2d59fbeee125259d42903cef41d74417 100755 (executable)
@@ -30,9 +30,12 @@ runtest()
 {
   for file; do
     if [ -f $file ]; then
-      { testrun ../src/dwarfcmp -q -i $file $file &&
+      {
+(set -x
+       testrun ../src/dwarfcmp -q -i $file $file &&
        testrun ../src/dwarfcmp -i $file $file &&
        testrun ../src/dwarfcmp -T -q -i $file $file
+) > dwarfcmp-${file//\//_}.out 2>&1
       } ||
       { echo "*** failure in $file"; status=1; }
     fi