1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

162 Commits

Author SHA1 Message Date
Jelmer Vernooij
eaa02e4b54 r21733: Merge testenv back into core selftest.pl
(This used to be commit 4b78ed3a606b6697512f1e4e9b9c6c93816e71f8)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
804ac30704 r21709: Add a list of tests that should be skipped rather than ad-hoc test skipping in various places.
(This used to be commit 01befd52111b8c183d78f9e0d80065fe0825b87c)
2007-10-10 14:49:16 -05:00
Jelmer Vernooij
72d88d158a r21707: Finally merge my (long-living) perlselftest branch.
This changes the main selftest code to be in perl rather than in shell script.

The selftest script is now no longer a black box but a regular executable that takes
--help.

This adds the following features:

 * "make test TESTS=foo" will run only the tests that match the regex "foo"
 * ability to deal with expected failures. the suite will not warn about tests
   that fail and are known to fail, but will warn about other failing tests and
   tests that are succeeding tests but incorrectly marked as failing.
 * ability to print a summary with all failures at the end of the run

It also opens up the way to the following features, which I hope to implement later:
 * "environments", for example having a complete domains with DCs and domain members
 in a testenvironment
 * only set up smbd if necessary (not when running LOCAL tests, for example)
 * different mktestsetup scripts per target. except for the mktestsetup script, we can
   use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
179a9c7210 r21580: Add generic target for test coverage data.
(This used to be commit a41b72458d04a18da0c0c59cef8a2e24f77e8890)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
651cb9fcd4 r21485: Remove obsolete smb_interfaces code (discussed with tpot).
(This used to be commit 92acdb380a02cae59b563e70ae0c18ab537cdb4c)
2007-10-10 14:48:41 -05:00
Jelmer Vernooij
97416e6b01 r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
(This used to be commit 07652f65ce7a5b19130f1a27cbf0e1e5fae13454)
2007-10-10 14:48:04 -05:00
Jelmer Vernooij
2096b36411 r21038: Move commands to distclean target
(This used to be commit 6713945fbab2df5b695c11df623f16d0abd1a772)
2007-10-10 14:44:23 -05:00
Jelmer Vernooij
30bfba96d3 r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
(This used to be commit 6bada0dcf0c7915d366c7917189375dbabecdd4f)
2007-10-10 14:43:57 -05:00
Stefan Metzmacher
0ec7ff5b6b r20791: the ejsnet stuff can be a normal smbcalls module...
mimir: when you want to register more functions
       please do that in the smb_setup_ejs_net() function

metze
(This used to be commit 5828632931376c3982bf0b6d110d217a8e05d60e)
2007-10-10 14:40:55 -05:00
Rafal Szczesniak
79cd3ada82 r20783: Ejsnet files are now moved into a separate directory. I need to commit
this as the change is getting bigger and bigger.

Jelmer, Metze, I don't know enough of our build system so please check
if .mk files are ok.

rafal
(This used to be commit 77ede0656c0b17a84ee8550776ab158007f0e71f)
2007-10-10 14:40:54 -05:00
Stefan Metzmacher
845cfb3983 r20706: the '@' chars should only be in front of each line,
but here the line is wrapped with '\' ...

metze
(This used to be commit 096a2ee97f97b3f9f57d844703ffaba53f7dd5d7)
2007-10-10 14:40:29 -05:00
James Peach
fa5560bdcb r20677: Condense compilations rules.
(This used to be commit 586b5113a09ec5ff751bcdaf4094d5672d58f220)
2007-10-10 14:40:20 -05:00
Andrew Tridgell
1cd4339b9a r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
(This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10 14:37:23 -05:00
Jelmer Vernooij
5a162488a1 r20562: Start building expr parser. Add separate copy of Yapp::Driver
rather than including it in each individual parser.
(This used to be commit 26853d7d99f7305981bcadaabfe6accf254321e7)
2007-10-10 14:36:57 -05:00
Derrell Lipman
43470b5ec3 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
(This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10 14:30:39 -05:00
Andrew Tridgell
b4ae9868d0 r20351: ensure these variables are set in the right place in the Makefile
(This used to be commit 0ed2c0a0afea5b0d4c5f49e2493cb6eae694fe40)
2007-10-10 14:30:14 -05:00
Jelmer Vernooij
e984a98c10 r19879: Make test targets depend on "libraries" (might be required for the pidl tests)
(This used to be commit 27d6ae2088f40329661b9772ab08f848be76c9c1)
2007-10-10 14:28:30 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10 14:25:29 -05:00
Stefan Metzmacher
ead66ffddf r19618: pass -D_SAMBA_HOSTCC_ when using the hostcompiler
metze
(This used to be commit 846553085e57bda44fda2a541bf00517d3586e8c)
2007-10-10 14:25:16 -05:00
Stefan Metzmacher
438f14701a r19608: - basics comes in with $(ALL_PREDEP)
(this fixes the auto dependency build)

metze
(This used to be commit 0798e678e742afc78c9a1d278322094ff1761dfa)
2007-10-10 14:25:04 -05:00
Jelmer Vernooij
1b6fb6c2eb r19596: add basics to 'all' - hopefully fixes the build on some hosts
(This used to be commit b0f00ff72354cc34ad59470e13d5ab472416cc6c)
2007-10-10 14:25:00 -05:00
Jelmer Vernooij
8164c24149 r19575: Build static libs in bin/static rather than bin/
(This used to be commit c9b06ce5636c37ddb077513796a288d88f62c358)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
09a36ffab1 r19574: Initial work towards supporting build of both shared and static libraries.
(This used to be commit e24ec3aa1ada855401a714743518893d9506239c)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
5a6e2bc9ae r19573: Move secrets.o into param/ (subsystems haven't been integrated yet).
(This used to be commit 8143de855c0b65346b2d8e59ecdb78952927de4a)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
66c17f778a r19571: Add a USESHARED parameter (different from BLDSHARED) + two small
shared-library related fixes.
(This used to be commit 8c7276b6c6ccebfbc60de978fcb2c23e7fbc12b5)
2007-10-10 14:24:54 -05:00
Andrew Bartlett
06d9c68658 r19538: This is getting silly, but I needed an easy way to run 'make testenv'
under valgrind.

Andrew Bartlett
(This used to be commit f2bdbacaa9796ba30689eae295199983cc352590)
2007-10-10 14:24:46 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10 14:24:41 -05:00
Derrell Lipman
68453d1da2 r19449: ldbbrowse: installation hopefully works now. "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.

With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:

  JSON/qooxdoo -> ldb browser

Derrell
(This used to be commit 2406af10791cd8545c598c8591a48de5515c7dc5)
2007-10-10 14:21:33 -05:00
Jelmer Vernooij
c554e2168b r19358: Use subunit tests from the right location (from
$src/bin/torture when developing, $LIBDIR/torture when installed)
(This used to be commit 4ae6380e6bb48e27e9947e149b3d079b3e293cc0)
2007-10-10 14:21:16 -05:00
Jelmer Vernooij
b58deeea69 r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10 14:21:14 -05:00
Jelmer Vernooij
52e3f69a36 r19343: Add support for external scripts/binaries that write results using the
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:

- write "comments" to stderr

Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]

I've already converted the talloc testsuite.
(This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10 14:21:13 -05:00
Stefan Metzmacher
b82c525d13 r18783: fix make pch
metze
(This used to be commit e2b16a09b3363d3a72edce03724cb05204f2a350)
2007-10-10 14:19:12 -05:00
Jelmer Vernooij
f12584ccae r18780: Add convenience "make testenv" to launch the xtermtest Andrew just added.
(This used to be commit e2cf38eca0f6fd632a9f544837eea90d66fd9cc6)
2007-10-10 14:19:11 -05:00
Stefan Metzmacher
e310cce43f r18545: if yapp isn't availabe touch the target file, as it is commited to svn,
to prevent rebuilding.

we do

make everything
make everything
make bin/smbtorture
make test

in the buildfarm and rebuilding parts isn't that nice

metze
(This used to be commit 212fa7977d514f81ce4301902a8038869ee02b4e)
2007-10-10 14:18:44 -05:00
Stefan Metzmacher
d159cffe2f r18338: this isn't needed anymore
metze
(This used to be commit 91800fd80c1763157f9bfded8f10e2d8c9a04cd2)
2007-10-10 14:18:12 -05:00
Stefan Metzmacher
2cebef3a9e r18333: $< is broken in older BSD version:
when $@ is foo/bar.o, $< could be torture/foo/bar.c
if it also exists. So better use $* which is foo/bar
to get foo/bar.c

metze
(This used to be commit 7aad9f81d927778bd3da6a37afc0489f1fefdc58)
2007-10-10 14:18:11 -05:00
Stefan Metzmacher
bcabebf502 r18329: print out special make variables when failing, to track down the
build failures on older BSD systems with broken make

metze
(This used to be commit 7edb40569a5b5c971894a5e753638eeccef15dea)
2007-10-10 14:18:10 -05:00
Stefan Metzmacher
7531db79df r18267: print out the failing command for .ho files too
metze
(This used to be commit 25dc4557fff940aa4cc46df59f4c5a72b7518117)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
0627a4715d r18265: print out the failling command
metze
(This used to be commit 9d2ab28ba1a119dff1a97147934c03e712c7148d)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
bf9379dfe5 r18264: print the full list of flags
metze
(This used to be commit ee5bd106945a013ba69c277a340c0961339983c6)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
af1b64c92f r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation
  to notice changes in depdendecies of header files

you may need a 'make clean' or at least you need to remove
heimdal_build/replace.hd

metze
(This used to be commit 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
6c85bcc972 r18154: try to get the heimdal_build code to use libreplace in a better way
(chasing down build failures ...)

added showflags as part of 'all' target, which makes tracking down
problems easier in the build farm
(This used to be commit d52aaccdf8a537dc8de8db7c30ff0ab076c4c63f)
2007-10-10 14:17:43 -05:00
Jelmer Vernooij
a83286d91c r18120: Remove generating dependencies for .d files for now as this was
causing make to loop.
(This used to be commit 35c8d39e6e30e3ba3dcf1db34c6256489a1a2f46)
2007-10-10 14:17:35 -05:00
Stefan Metzmacher
f9a175ae24 r18095: correctly rebuild the dependencies not only the object file
metze
(This used to be commit 8e0497c5d217470bef5bd537c5d2b7be9ae89602)
2007-10-10 14:17:15 -05:00
Jelmer Vernooij
613e2a6af4 r17932: Fix header installation.
(This used to be commit d0b7c740c77c901960c6de80f0d3b77cd396946f)
2007-10-10 14:16:55 -05:00
Andrew Tridgell
e5f7da55ef r17768: This merges in the current version of Brad Henry's windows testing
framework patch. There are some issues with the patch that I will
discuss in a separate email to the list, but given the low (zero?)
impact of the patch as it is, I think its better to integrate it now,
then let Brad send some minor update patches later
(This used to be commit 7232da0436ff1d84e419d268fee31a095bbb88b7)
2007-10-10 14:16:38 -05:00
Stefan Metzmacher
326e963a89 r17357: - fix the build
- generate the IDL_NDR_* variables before using them
  (this was the reason I didn't noticed this error)

metze
(This used to be commit c493bc83ee31c8dac4943fdadf443b537af1f6f6)
2007-10-10 14:15:18 -05:00
Stefan Metzmacher
529aa3b885 r16561: - create version.h relative to srcdir
- let version.h depend on VERSION
- add a rule to manualy regenerate version.h
  e.g. after a svn up

metze
(This used to be commit 7167579cbfcda0a130f9eaf80d4783f4bd134802)
2007-10-10 14:09:34 -05:00
James Peach
748decf65b r16558: Add make rule to generate version.h. Metze, can you please review?
(This used to be commit 47b6a3d7f37faba7f8defbaf9a406f4bdf431615)
2007-10-10 14:09:34 -05:00
Stefan Metzmacher
e1c7a38b2c r15641: we know have source/version.h
metze
(This used to be commit c505ce9d3b9ce9c3db6652f8f9721ca95229d2ff)
2007-10-10 14:07:25 -05:00