selftest: Remove RUN_FROM_BUILD_FARM env variable
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 11 Mar 2019 03:28:16 +0000 (16:28 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 12 Mar 2019 01:53:26 +0000 (01:53 +0000)
The build farm is no longer used, so we can remove checks for this
environment variable in the selftest code.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/wscript

index 727adcf31261a907de94790510e520ceb9b6eeb8..7d8300f055a2730c0651c75eeb0d58e6f853cc54 100644 (file)
@@ -185,8 +185,6 @@ def cmd_testonly(opt):
     if Options.options.PERF_TEST:
         env.FILTER_OPTIONS = ('${PYTHON} -u ${srcdir}/selftest/filter-subunit '
                               '--perf-test-output')
-    elif os.environ.get('RUN_FROM_BUILD_FARM') is not None:
-        env.FILTER_OPTIONS = '${FILTER_XFAIL} --strip-passed-output'
     else:
         env.FILTER_OPTIONS = '${FILTER_XFAIL}'
 
@@ -314,8 +312,7 @@ def cmd_testonly(opt):
             # Skip subunit filtering (i.e. because python is disabled).
             # Use --one to bail out upon any failure
             cmd = '(${CORE_COMMAND} --one && touch ${SELFTEST_PREFIX}/st_done)'
-        elif (os.environ.get('RUN_FROM_BUILD_FARM') is None and
-            not Options.options.FILTERED_SUBUNIT):
+        elif not Options.options.FILTERED_SUBUNIT:
             subunit_cache = os.path.join(env.SELFTEST_PREFIX, "subunit")
             cmd += ' | tee %s | ${FORMAT_TEST_OUTPUT}' % subunit_cache
         else: