<div dir="ltr">There is one - tests/basic/rpm.t which is run against every commit. However it only guarantees a that an RPM can be built on a machine which is similar to the build server itself.<div><br></div><div>Avati</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 5:48 PM, Jay Vyas <span dir="ltr">&lt;<a href="mailto:jayunit100@gmail.com" target="_blank">jayunit100@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There should be a test that confirms that the build actually produces rpms :)<br>
<br>
That would have caught this bug.<br>
<br>
On May 17, 2013, at 5:54 PM, Justin Clift &lt;<a href="mailto:jclift@redhat.com">jclift@redhat.com</a>&gt; wrote:<br>
<br>
&gt; On 18/05/2013, at 4:19 AM, Jay Vyas wrote:<br>
&gt;&gt; Ahh yes, well the lesson i learned was to build from branches instead of from master (switched to branch release-3.4) and that solved it.<br>
&gt;<br>
&gt; Well, that&#39;s one way of doing it. :)<br>
&gt;<br>
&gt; Personally, I do build from master 99.5% of the time, as it&#39;s<br>
&gt; *supposed* to work all the time.  The automated testing that&#39;s<br>
&gt; done for all of the patches is (in theory) meant to stop general<br>
&gt; breakage for things like this.  Of course though, things don&#39;t<br>
&gt; always play ball,<br>
&gt;<br>
&gt; When it doesn&#39;t, I generally file a BZ (if one&#39;s not already<br>
&gt; there), and try to figure out the cause/fix.<br>
&gt;<br>
&gt;<br>
&gt;&gt; Justin maybe on your guide to gluster installation from source you should<br>
&gt;&gt; also suggest this?<br>
&gt;<br>
&gt; Including info on how to build from the branches is a decent idea.<br>
&gt;<br>
&gt; I&#39;ve been kind of avoiding it so far, because that starts down a fairly<br>
&gt; complicated road.  Different branches have slightly different needs for<br>
&gt; compiling (different dependencies, different ./configure options), and<br>
&gt; I&#39;ve been wanting to keep that rpm compiling page as simple as possible.<br>
&gt;<br>
&gt; Maybe that needs to be revisited though... :)<br>
&gt;<br>
&gt;<br>
&gt;&gt; I update my blog post that &quot;steals&quot; some of that content :)<br>
&gt;<br>
&gt; Steal away.  The info on that page is Community knowledge, and the<br>
&gt; wider it gets spread/stolen/etc the better. :)<br>
&gt;<br>
&gt; + Justin<br>
&gt;<br>
&gt; --<br>
&gt; Open Source and Standards @ Red Hat<br>
&gt;<br>
&gt; <a href="http://twitter.com/realjustinclift" target="_blank">twitter.com/realjustinclift</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br></div>