Jelmer Vernooij
4f0db42958
Use variables for source directory in a couple more places.
...
(This used to be commit 56bb2907c6
)
2008-05-18 19:41:33 +02:00
Jelmer Vernooij
30ad1af106
Use variable for param src dir.
...
(This used to be commit f97bc57358
)
2008-05-18 19:37:24 +02:00
Jelmer Vernooij
100d3967d3
Use src dir.
...
(This used to be commit 63f2b66f0e
)
2008-05-18 19:10:37 +02:00
Jelmer Vernooij
4d2f44163e
Use variables for source path in libnet/ and scripting/python.
...
(This used to be commit fb10a81b94
)
2008-05-18 19:07:07 +02:00
Jelmer Vernooij
ff0315ba85
Rename include to mkinclude to emphasize it is different from make's include.
...
(This used to be commit 0e1d0a874a
)
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
105c6fec24
Avoid autogenerating the Makefile but rather include a data.mk file
...
that is autogenerated.
(This used to be commit 95967e8bfb
)
2008-02-11 01:42:29 +01:00
Jelmer Vernooij
8ba668bb05
Move some more variables to static .mk file.
...
(This used to be commit a72d3ffade
)
2008-02-11 01:02:16 +01:00
Jelmer Vernooij
1813b711c4
Automatically write AC_SUBST() vars to mkconfig.mk and use them.
...
(This used to be commit a22bb7725b
)
2008-02-11 00:21:20 +01:00
Jelmer Vernooij
fdef91b484
Move more make code to rules.mk
...
(This used to be commit 5ade1a9516
)
2008-02-09 16:23:02 +01:00
Jelmer Vernooij
460ac1c585
Use mkinclude (makes the Makefile a bit shorter), use double-colon for phony makefile targets.
...
(This used to be commit ea7d389bcc
)
2008-02-09 16:05:55 +01:00
Jelmer Vernooij
e5f8d05f09
r26663: Proper dependencies for pidl Python bindings.
...
(This used to be commit f24e5e8a2b
)
2008-01-03 21:51:02 -06:00
Jelmer Vernooij
6915cad127
r26560: Add script for running in valgrind.
...
(This used to be commit cb5d6a9ee2
)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
8c46582b61
r26206: Build python modules as part of make all.
...
(This used to be commit df40628a46
)
2007-12-21 05:46:51 +01:00
Jelmer Vernooij
16325f1339
r26186: Generate SWIG files as part of autogen.sh
...
(This used to be commit 4429f8b87e
)
2007-12-21 05:46:39 +01:00
Jelmer Vernooij
39adc2418a
r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
...
(This used to be commit cbf656ff05
)
2007-12-21 05:45:59 +01:00
Stefan Metzmacher
7b7c84c02c
r25996: build: rename LD -> BNLD and LDFLAGS -> BNLD_FLAGS
...
metze
(This used to be commit fa795c88e2
)
2007-12-21 05:45:32 +01:00
Stefan Metzmacher
24f84f70b9
r25995: build: print out MDLD and MDLD_FLAGS with make showflags
...
metze
(This used to be commit 77815d0314
)
2007-12-21 05:45:32 +01:00
Jelmer Vernooij
45c3d150d5
r25707: Move selftest makefile code to separate file.
...
(This used to be commit 9714db7814
)
2007-12-21 05:43:23 +01:00
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
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 2406af1079
)
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 4ae6380e6b
)
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 bde00d9706
)
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 e1742c14a2
)
2007-10-10 14:21:13 -05:00
Stefan Metzmacher
b82c525d13
r18783: fix make pch
...
metze
(This used to be commit e2b16a09b3
)
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 e2cf38eca0
)
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 212fa7977d
)
2007-10-10 14:18:44 -05:00
Stefan Metzmacher
d159cffe2f
r18338: this isn't needed anymore
...
metze
(This used to be commit 91800fd80c
)
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 7aad9f81d9
)
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 7edb40569a
)
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 25dc4557ff
)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
0627a4715d
r18265: print out the failling command
...
metze
(This used to be commit 9d2ab28ba1
)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
bf9379dfe5
r18264: print the full list of flags
...
metze
(This used to be commit ee5bd10694
)
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 5ecf98cc18
)
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 d52aaccdf8
)
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 35c8d39e6e
)
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 8e0497c5d2
)
2007-10-10 14:17:15 -05:00
Jelmer Vernooij
613e2a6af4
r17932: Fix header installation.
...
(This used to be commit d0b7c740c7
)
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 7232da0436
)
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 c493bc83ee
)
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 7167579cbf
)
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 47b6a3d7f3
)
2007-10-10 14:09:34 -05:00
Stefan Metzmacher
e1c7a38b2c
r15641: we know have source/version.h
...
metze
(This used to be commit c505ce9d3b
)
2007-10-10 14:07:25 -05:00
Jelmer Vernooij
8903abc4c8
r15584: List SWIG files as being updated when pidl runs
...
(This used to be commit dcebba4ee8
)
2007-10-10 14:06:00 -05:00
Jelmer Vernooij
e572bbb94c
r15321: Reduce the size of rewrite.m4 a bit more
...
(This used to be commit c83e4b1665
)
2007-10-10 14:05:15 -05:00
Stefan Metzmacher
8ee028df88
r15292: fix the IDL_* variable names
...
metze
(This used to be commit e8d69ff8d0
)
2007-10-10 14:05:03 -05:00
Jelmer Vernooij
23cf97680b
r15276: Fix path to perl on some hosts
...
Fix perl warning
(This used to be commit 50e184819d
)
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
4333993e90
r15247: Get rid of patsubst macro as it is not supported by some makes and replace
...
it with a perl script.
This should fix the build on tru64
(This used to be commit b4e08b98a6
)
2007-10-10 14:04:24 -05:00
Jelmer Vernooij
0eddf14b30
r15191: Avoid uint_t as it's not standard.
...
(This used to be commit 7af59357b9
)
2007-10-10 14:04:15 -05:00
James Peach
041456554e
r15157: Systems with argv limits can't handle the full list of $(DEP_FILE). Replace
...
with the (hopefuly) equivalent find/rm sequence.
(This used to be commit 2bce5c9465
)
2007-10-10 14:04:12 -05:00
Alexander Bokovoy
a41ac85091
r15061: Use $(PERL) to run cflags.pl as actual perl binary might not be in /usr/bin
...
(This used to be commit 7d5a91a667
)
2007-10-10 14:04:05 -05:00
Alexander Bokovoy
9cf41988ff
r15036: Add out of tree build support and see how buildfarm will respond to make constructs
...
(This used to be commit 9329854489
)
2007-10-10 14:04:03 -05:00