<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/Makefile, branch talloc-2.2.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>selftest: Add basic sanity-check tests for nopython target</title>
<updated>2019-02-20T01:10:00+00:00</updated>
<author>
<name>Tim Beale</name>
<email>timbeale@catalyst.net.nz</email>
</author>
<published>2019-02-17T23:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=96472306bf13bd2a4d39d5fdd63a73f6140f8b44'/>
<id>96472306bf13bd2a4d39d5fdd63a73f6140f8b44</id>
<content type='text'>
Previously we were only checking samba compiled OK with
--disable-python, not that it actually ran.

The main problem is all the make test framework is based around
subunit/smbtorture, neither of which we seem to build with
disable-python. However, for just a simple sanity-check, we can just
bypass all the subunit-filter work and just call the Perl code directly.
This works OK as long as it's just simple shell script tests that we're
running, as we can check the script's exit code directly.

The main thing that we really want to test is that we can start up the
smbd testenv and connect to it (i.e. a simple smbclient test).

This patch adds a new 'make test-nopython' target. This disables the
subunit filtering, and runs a small test-list that was generated manually.

Note that currently this has the limitation that it doesn't support known
failures or flapping tests. However, just checking that smd starts up OK
is probably OK for now.

Signed-off-by: Tim Beale &lt;timbeale@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Wed Feb 20 02:10:00 CET 2019 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we were only checking samba compiled OK with
--disable-python, not that it actually ran.

The main problem is all the make test framework is based around
subunit/smbtorture, neither of which we seem to build with
disable-python. However, for just a simple sanity-check, we can just
bypass all the subunit-filter work and just call the Perl code directly.
This works OK as long as it's just simple shell script tests that we're
running, as we can check the script's exit code directly.

The main thing that we really want to test is that we can start up the
smbd testenv and connect to it (i.e. a simple smbclient test).

This patch adds a new 'make test-nopython' target. This disables the
subunit filtering, and runs a small test-list that was generated manually.

Note that currently this has the limitation that it doesn't support known
failures or flapping tests. However, just checking that smd starts up OK
is probably OK for now.

Signed-off-by: Tim Beale &lt;timbeale@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Wed Feb 20 02:10:00 CET 2019 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Move python detection back into waf (instead of in configure and Makefile)</title>
<updated>2018-12-14T13:40:19+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2018-12-11T18:10:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5ddff307b4af5c82d5064745f5bd2c33bd340ced'/>
<id>5ddff307b4af5c82d5064745f5bd2c33bd340ced</id>
<content type='text'>
This avoids creating a mini-configure in the configure script.

Users wishing to use python2 to build need to specify PYTHON=
to both ./configure and make

After we merged the python3 change, it became clear that relying on systems prefixing
the correct python just causes trouble and make debugging harder, so only use $PYTHON
for the override, not the default case

This essentially reverts a660b7fb8e519bd3be558fd0425bff8f287fca1f but
leaves the files more consistent.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Noel Power &lt;npower@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids creating a mini-configure in the configure script.

Users wishing to use python2 to build need to specify PYTHON=
to both ./configure and make

After we merged the python3 change, it became clear that relying on systems prefixing
the correct python just causes trouble and make debugging harder, so only use $PYTHON
for the override, not the default case

This essentially reverts a660b7fb8e519bd3be558fd0425bff8f287fca1f but
leaves the files more consistent.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Noel Power &lt;npower@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Workaround python3 hash order issues (for now)</title>
<updated>2018-12-13T00:49:30+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2018-12-13T00:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=19a4d3ca692e864a2ae6c8c496e7eb08cded612f'/>
<id>19a4d3ca692e864a2ae6c8c496e7eb08cded612f</id>
<content type='text'>
This works around python3 having a new hash seed each time it starts to allow
a second "make" not to rebuild the world.

This should probably be reverted once we find the hash that is causing
the issue, but should reduce frustration for now.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works around python3 having a new hash seed each time it starts to allow
a second "make" not to rebuild the world.

This should probably be reverted once we find the hash that is causing
the issue, but should reduce frustration for now.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PY3: switch current build to use python3</title>
<updated>2018-12-10T09:38:25+00:00</updated>
<author>
<name>Noel Power</name>
<email>noel.power@suse.com</email>
</author>
<published>2018-11-24T15:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a660b7fb8e519bd3be558fd0425bff8f287fca1f'/>
<id>a660b7fb8e519bd3be558fd0425bff8f287fca1f</id>
<content type='text'>
Make sure default make and configure for all now defaults
to building with python3.

To build a samba (or sub component e.g. talloc etc.) with python3
  ./configure &amp;&amp; make

To build a samba (or sub component e.g. talloc etc.) with python2
  PYTHON=python ./configure &amp;&amp; PYTHON=python make

Signed-off-by: Noel Power &lt;noel.power@suse.com&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure default make and configure for all now defaults
to building with python3.

To build a samba (or sub component e.g. talloc etc.) with python3
  ./configure &amp;&amp; make

To build a samba (or sub component e.g. talloc etc.) with python2
  PYTHON=python ./configure &amp;&amp; PYTHON=python make

Signed-off-by: Noel Power &lt;noel.power@suse.com&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>make perftest: for performance testing</title>
<updated>2016-08-31T05:09:26+00:00</updated>
<author>
<name>Douglas Bagnall</name>
<email>douglas.bagnall@catalyst.net.nz</email>
</author>
<published>2016-08-16T22:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e908873757171db5b65296c5c3cdefe7d0fb0c01'/>
<id>e908873757171db5b65296c5c3cdefe7d0fb0c01</id>
<content type='text'>
This runs a selection of subunit tests and reduces the output to only
the time it takes to run each test.

The tests are listed in selftest/perf_tests.py.

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This runs a selection of subunit tests and reduces the output to only
the time it takes to run each test.

The tests are listed in selftest/perf_tests.py.

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: Add option to list all tests</title>
<updated>2015-09-15T19:57:50+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2015-09-15T14:20:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4276ec7a6c2379a0b906fab8e1dc9c080b3534bc'/>
<id>4276ec7a6c2379a0b906fab8e1dc9c080b3534bc</id>
<content type='text'>
This allows you to run 'make testlist' to get a complete list of all our
tests available. You can limit it using 'make testlist TESTS=spoolss' to
only show spoolss tests for example.

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Michael Adam &lt;obnox@samba.org&gt;
Autobuild-Date(master): Tue Sep 15 21:57:50 CEST 2015 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows you to run 'make testlist' to get a complete list of all our
tests available. You can limit it using 'make testlist TESTS=spoolss' to
only show spoolss tests for example.

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Michael Adam &lt;obnox@samba.org&gt;
Autobuild-Date(master): Tue Sep 15 21:57:50 CEST 2015 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'make randomized-test' rule.</title>
<updated>2014-11-19T17:30:06+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2014-11-16T15:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a214bf6fb1a43be98e2a3354a4785053996e4ee0'/>
<id>a214bf6fb1a43be98e2a3354a4785053996e4ee0</id>
<content type='text'>
Signed-Off-By: Jelmer Vernooij &lt;jelmer@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-Off-By: Jelmer Vernooij &lt;jelmer@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Declare empty target as phony otherwise they are caught by the '%' rule</title>
<updated>2014-09-27T23:32:09+00:00</updated>
<author>
<name>Matthieu Patou</name>
<email>mat@matws.net</email>
</author>
<published>2014-09-26T16:34:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c22564aca8a7e81be11281a4f5d297b850439b26'/>
<id>c22564aca8a7e81be11281a4f5d297b850439b26</id>
<content type='text'>
Without that build on the build farm is broken:

'build' finished successfully (8.162s)
WAF_MAKE=1 python ./buildtools/bin/waf --targets=everything
    Selected embedded Heimdal build
    Waf: Entering directory `/memdisk/build/samba_4_0_test/bin'
	Selected embedded Heimdal build
	Waf: Leaving directory `/memdisk/build/samba_4_0_test/bin'
	target 'everything' does not exist
	make: *** [everything] Error 1

Change-Id: Id5bc37f803efd764f00c37f8add560d6de2e3a2f
Signed-off-by: Matthieu Patou &lt;mat@matws.net&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without that build on the build farm is broken:

'build' finished successfully (8.162s)
WAF_MAKE=1 python ./buildtools/bin/waf --targets=everything
    Selected embedded Heimdal build
    Waf: Entering directory `/memdisk/build/samba_4_0_test/bin'
	Selected embedded Heimdal build
	Waf: Leaving directory `/memdisk/build/samba_4_0_test/bin'
	target 'everything' does not exist
	make: *** [everything] Error 1

Change-Id: Id5bc37f803efd764f00c37f8add560d6de2e3a2f
Signed-off-by: Matthieu Patou &lt;mat@matws.net&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some plumbing in our top level Makefile to make life easier</title>
<updated>2014-09-26T09:48:11+00:00</updated>
<author>
<name>Matthieu Patou</name>
<email>mat@matws.net</email>
</author>
<published>2014-09-26T06:32:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0b08db43bb10a909f7f7bf01eccd7b65140ae950'/>
<id>0b08db43bb10a909f7f7bf01eccd7b65140ae950</id>
<content type='text'>
For instance you can type make bin/smbd to build just smbd (and it's
dependencies still) or make bin/smbd bin/smbtorture

You can also do make service_drepl if you want just to build the stuff
related to DRS

Change-Id: I61bdaeff79ecfb1a15728c2de7e6a6a14dd8bc7d
Signed-off-by: Matthieu Patou &lt;mat@matws.net&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Matthieu Patou &lt;mat@samba.org&gt;
Autobuild-Date(master): Fri Sep 26 11:48:11 CEST 2014 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For instance you can type make bin/smbd to build just smbd (and it's
dependencies still) or make bin/smbd bin/smbtorture

You can also do make service_drepl if you want just to build the stuff
related to DRS

Change-Id: I61bdaeff79ecfb1a15728c2de7e6a6a14dd8bc7d
Signed-off-by: Matthieu Patou &lt;mat@matws.net&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Matthieu Patou &lt;mat@samba.org&gt;
Autobuild-Date(master): Fri Sep 26 11:48:11 CEST 2014 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>make: Add gdbtestenv target.</title>
<updated>2014-07-02T06:03:15+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2014-07-01T13:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fbd418d2f666c3e2af31d34667b63c03fdca6ca6'/>
<id>fbd418d2f666c3e2af31d34667b63c03fdca6ca6</id>
<content type='text'>
This starts the sever components in a xterm with gdb.

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This starts the sever components in a xterm with gdb.

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
