MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_tools_buildbot_test

Method test_tools_buildbot_test

Lib/test/test_regrtest.py:932–946  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

930 'test.bat script is not installed')
931 @unittest.skipUnless(sys.platform == 'win32', 'Windows only')
932 def test_tools_buildbot_test(self):
933 # Tools\buildbot\test.bat
934 script = os.path.join(ROOT_DIR, 'Tools', 'buildbot', 'test.bat')
935 test_args = ['--testdir=%s' % self.tmptestdir]
936 if platform.machine() == 'ARM64':
937 test_args.append('-arm64') # ARM 64-bit build
938 elif platform.machine() == 'ARM':
939 test_args.append('-arm32') # 32-bit ARM build
940 elif platform.architecture()[0] == '64bit':
941 test_args.append('-x64') # 64-bit build
942 if not support.Py_DEBUG:
943 test_args.append('+d') # Release build, use python.exe
944 if sysconfig.get_config_var("Py_GIL_DISABLED"):
945 test_args.append('--disable-gil')
946 self.run_batch(script, *test_args, *self.tests)
947
948 @unittest.skipUnless(sys.platform == 'win32', 'Windows only')
949 def test_pcbuild_rt(self):

Callers

nothing calls this directly

Calls 3

run_batchMethod · 0.95
joinMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected