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

* Re: [PATCH] xfstests: don't run 122 if required headers aren't found
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2009-06-03 17:51 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs mailing list

On Wed, Jun 03, 2009 at 12:17:10PM -0500, Eric Sandeen wrote:
> Now that libxfs etc is optional, 122 (which compiles on the fly)
> is failing if those extra headers are missing.

Oh, the great 122 tests.  Indeed without all the headers defining
the structures we can't actually check their size.


Signed-off-by: Christoph Hellwig <hch@lst.de>

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

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

* Re: [PATCH] xfstests: don't run 122 if required headers aren't found
  2009-06-03 17:51 ` Christoph Hellwig
@ 2009-06-03 19:35   ` Christoph Hellwig
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2009-06-03 19:35 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs mailing list

On Wed, Jun 03, 2009 at 01:51:03PM -0400, Christoph Hellwig wrote:
> On Wed, Jun 03, 2009 at 12:17:10PM -0500, Eric Sandeen wrote:
> > Now that libxfs etc is optional, 122 (which compiles on the fly)
> > is failing if those extra headers are missing.
> 
> Oh, the great 122 tests.  Indeed without all the headers defining
> the structures we can't actually check their size.
> 
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Umm, should be:

Reviewed-by: Christoph Hellwig <hch@lst.de>

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

^ permalink raw reply	[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