public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: don't run 122 if required headers aren't found
@ 2009-06-03 17:17 Eric Sandeen
  2009-06-03 17:51 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2009-06-03 17:17 UTC (permalink / raw)
  To: xfs mailing list

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 <sandeen@redhat.com>
---

diff --git a/122 b/122
index 7123753..9fbe437 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
 
 #

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-03 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03 17:17 [PATCH] xfstests: don't run 122 if required headers aren't found Eric Sandeen
2009-06-03 17:51 ` Christoph Hellwig
2009-06-03 19:35   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox