1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

185 Commits

Author SHA1 Message Date
Stefan Metzmacher
8517878144 r25623: add 'make test-swrap-pcap' and 'make test-swrap-keep-pcap'
metze
(This used to be commit 398940031b)
2007-12-21 05:42:57 +01:00
Stefan Metzmacher
d4d5876701 r25582: build nmblookup with make testsuite as it's needed in the blackbox tests
metze
(This used to be commit 18991998b2)
2007-10-10 15:08:00 -05:00
Stefan Metzmacher
3ff257b36b r25386: add 'make testsuite' target that tries to at least compile
smbtorture, smbclient and cifsdd which are used by samba3's
'make test' in future.

metze
(This used to be commit 712074d950)
2007-10-10 15:07:23 -05:00
Andrew Bartlett
15c1801a5c r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
(This used to be commit cda965e908)
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
8e2d624a58 r24937: Merge tests spoolss RPC callbacks.
(This used to be commit 9b256a0ca2)
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
09c188e735 r24812: Fix headers for external users.
(This used to be commit ff6684adfd)
2007-10-10 15:03:13 -05:00
Jelmer Vernooij
3f6cf9672b r24669: Add CSS to the test run HTML output. See http://samba.org/~jelmer/ for an
example of the current output.
(This used to be commit 1e57394e86)
2007-10-10 15:02:35 -05:00
Jelmer Vernooij
b5e36e5281 r24345: Add --format=html option to selftest.
(This used to be commit de66bced94)
2007-10-10 15:01:42 -05:00
Andrew Bartlett
f7d79d3131 r23281: Ensure we wipe all the right things in distclean.
Andrew Bartlett
(This used to be commit 9bf7e4d896)
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
1e84e4026e r22575: move script/tests/ -> selftest/
as discussed with jelmer and abartlet

metze
(This used to be commit e9fe3c40e1)
2007-10-10 14:51:46 -05:00
Stefan Metzmacher
383fc70970 r22535: pass down $(TESTS) to all test variants
metze
(This used to be commit c27519d351)
2007-10-10 14:51:39 -05:00
Stefan Metzmacher
acedd59f35 r22451: allow
SKIP_DEP_FILES=yes make

metze
(This used to be commit 31fab208f6)
2007-10-10 14:51:21 -05:00
Stefan Metzmacher
45e8a27d98 r22312: avoid the need of typing 'run' into each gdb xterm
if someone knows how to tell gdb to only exit
if 'run' exists clean via the if/else logic
please tell me!

see http://davis.lbl.gov/Manuals/GDB/gdb_20.html#SEC194)
but there's no useful example :-(

metze
(This used to be commit 4a95e89308)
2007-10-10 14:51:01 -05:00
Stefan Metzmacher
a412c3fc2f r22310: - use 'everything' instead of 'all libraries'
- add gdbtest-env

metze
(This used to be commit 589364d98f)
2007-10-10 14:51:00 -05:00
Stefan Metzmacher
ba5c8ee627 r22309: cosmetic changes...
force that make install first builds everything and then installs

metze
(This used to be commit a2025687e2)
2007-10-10 14:51:00 -05:00
Stefan Metzmacher
ed4489eb50 r22300: fix make everything, we need to build shared libraries...
this should fix the build-farm where some hosts show
a make install failure, where it's really should be
a make everything build failure

metze
(This used to be commit a50ae5d863)
2007-10-10 14:50:59 -05:00
Andrew Bartlett
3154dbd3ac r22183: Perl might not be in /usr/bin/perl, so use $(PERL) from the makefile
to start the selftest script.

Andrew Bartlett
(This used to be commit 6cb621b419)
2007-10-10 14:49:59 -05:00
James Peach
36d8bdc1a5 r22048: Sigh. Commit the other half of r22047.
(This used to be commit cbc15e963a)
2007-10-10 14:49:46 -05:00
James Peach
4e8fd9f2f4 r22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
(This used to be commit 5a96812929)
2007-10-10 14:49:45 -05:00
James Peach
3655b4ba75 r22040: Use $< to specify the immediate prerequisit instead of $*. This is
needed for VPATH to find the correct files when srcdir != builddir.

This checkin is a test to see which platforms this change will break.
(This used to be commit 1d4e836a50)
2007-10-10 14:49:44 -05:00
James Peach
2882b2ba63 r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
(This used to be commit 0db4256a47)
2007-10-10 14:49:42 -05:00
Jelmer Vernooij
2fca3f9082 r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de1028)
2007-10-10 14:49:37 -05:00
Jelmer Vernooij
0836a83f9e r21833: Don't install static libs, they can't be used anyway.
(This used to be commit 6fb7097edf)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
eaa02e4b54 r21733: Merge testenv back into core selftest.pl
(This used to be commit 4b78ed3a60)
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 01befd5211)
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 38f867880b)
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
179a9c7210 r21580: Add generic target for test coverage data.
(This used to be commit a41b72458d)
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 92acdb380a)
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 07652f65ce)
2007-10-10 14:48:04 -05:00
Jelmer Vernooij
2096b36411 r21038: Move commands to distclean target
(This used to be commit 6713945fba)
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 6bada0dcf0)
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 5828632931)
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 77ede0656c)
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 096a2ee97f)
2007-10-10 14:40:29 -05:00
James Peach
fa5560bdcb r20677: Condense compilations rules.
(This used to be commit 586b5113a0)
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 2365abaa99)
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 26853d7d99)
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 0201baef46)
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 0ed2c0a0af)
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 27d6ae2088)
2007-10-10 14:28:30 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f)
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 846553085e)
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 0798e678e7)
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 b0f00ff723)
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 c9b06ce563)
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 e24ec3aa1a)
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 8143de855c)
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 8c7276b6c6)
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 f2bdbacaa9)
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 7a01235067)
2007-10-10 14:24:41 -05:00