From a68e8af2d1b92ba9a94fc7cc1eb98cdca687d5fd Mon Sep 17 00:00:00 2001 From: Tim Beale Date: Mon, 11 Mar 2019 16:03:34 +1300 Subject: testsuite: Remove build_farm testsuites This test code is not run (and has not been run for about a decade). Let's remove it - it's there in the git history if we ever want to try to repurpose it again. Signed-off-by: Tim Beale Reviewed-by: Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue Mar 12 02:56:05 UTC 2019 on sn-devel-144 --- source4/selftest/win/README | 49 --------------------------------------------- 1 file changed, 49 deletions(-) (limited to 'source4') diff --git a/source4/selftest/win/README b/source4/selftest/win/README index fc934385c4d..f6e716c8da0 100644 --- a/source4/selftest/win/README +++ b/source4/selftest/win/README @@ -70,52 +70,3 @@ remotely administered with telnet. Specifically, this will allow us to use 'make wintest' in Samba 4 to perform smbtorture tests against a Windows host, and perform tests from a Windows client to a Samba server. -INTEGRATING WITH THE BUILD FARM - -Follow the standard steps to add a host to the build farm. The major -difference is that we will need to run these tests as root. To run the -Windows tests in the build farm, a .fns file will need to be created for -your new host that exports a WINTESTCONF environment variable pointing to a -config file used by 'make wintest'. An example of this config file can be -found at source/selftest/win/test_win.conf in the Samba 4 source tree. - -I've also included the bnhtest.fns file that I'm using for my build farm host -below, as an example. It was modified from generic.fns. - -action_test_windows() { - do_make wintest - w_status=$? - echo "WINTEST STATUS: $w_status" - return $w_status; -} - -per_run_hook - -system=`uname` - -export WINTESTCONF="/home/build/win/test_win.conf" - -for compiler in gcc cc icc; do - - # arrgh, "which" gives no err code on solaris - path=`which $compiler` - if [ -x "$path" ]; then - - if $compiler -v 2>&1 | grep gcc.version > /dev/null; then - isgcc=1 - CFLAGS="-Wall" - export CFLAGS - else - CFLAGS="" - export CFLAGS - isgcc=0 - fi - if [ $compiler = gcc -o $isgcc = 0 ]; then - - # only attempt samba4 if we have perl - if which perl > /dev/null; then - test_tree samba4 source $compiler configure build install test_windows test - fi - fi - fi -done -- cgit v1.2.1