]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Only run low-level checks in dwarflint self-check
authorPetr Machata <pmachata@redhat.com>
Wed, 15 Sep 2010 13:55:10 +0000 (15:55 +0200)
committerPetr Machata <pmachata@redhat.com>
Wed, 15 Sep 2010 13:55:10 +0000 (15:55 +0200)
The reason being that high-level checks do and always have emitted a lot
of output, mainly for big c++ binaries.  The low-level checks should
generally pass, and even if there are nits here and there, they should be
minor and shouldn't flood the terminal.

tests/run-dwarflint-self.sh

index 1f35889a52a545a647aebd2e8918e1f3656ca6d2..e83d82089e65e571873a922d285b68f1f241f704 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2009 Red Hat, Inc.
+# Copyright (C) 2009, 2010 Red Hat, Inc.
 # This file is part of Red Hat elfutils.
 #
 # Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -30,7 +30,7 @@ runtest()
 {
   for file; do
     if [ -f $file ]; then
-      testrun ../dwarflint/dwarflint -q -i --gnu $file ||
+      testrun ../dwarflint/dwarflint -q -i --check=@low $file ||
       { echo "*** failure in $file"; status=1; }
     fi
   done