From e17b2a1acb4581443b4e604cd2491d2b8e8a6bcd Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Wed, 3 Jun 2009 13:12:20 -0500 Subject: [PATCH] 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 --- 122 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/122 b/122 index 712375302..9fbe437f8 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 # -- 2.50.1