From: Eric Sandeen Date: Wed, 3 Jun 2009 18:12:20 +0000 (-0500) Subject: don't run 122 if required headers aren't found X-Git-Tag: v1.1.0~282 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e17b2a1acb4581443b4e604cd2491d2b8e8a6bcd;p=xfstests-dev.git don't run 122 if required headers aren't found Now that libxfs etc is optional, 122 (which compiles on the fly) is failing if those extra headers are missing. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig --- diff --git a/122 b/122 index 71237530..9fbe437f 100755 --- a/122 +++ b/122 @@ -191,7 +191,8 @@ awk ' echo 'return 0; }' >>$cprog # create and run program -cc -o $oprog $cprog +cc -o $oprog $cprog >> $seq.full 2>&1 || \ + _notrun "Could not compile test program (see end of $seq.full)" $oprog | _type_size_filter > $progout #