| 964 | 'test.bat script is not installed') |
| 965 | @unittest.skipUnless(sys.platform == 'win32', 'Windows only') |
| 966 | def test_tools_buildbot_test(self): |
| 967 | # Tools\buildbot\test.bat |
| 968 | script = os.path.join(ROOT_DIR, 'Tools', 'buildbot', 'test.bat') |
| 969 | test_args = ['--testdir=%s' % self.tmptestdir] |
| 970 | if platform.machine() == 'ARM64': |
| 971 | test_args.append('-arm64') # ARM 64-bit build |
| 972 | elif platform.machine() == 'ARM': |
| 973 | test_args.append('-arm32') # 32-bit ARM build |
| 974 | elif platform.architecture()[0] == '64bit': |
| 975 | test_args.append('-x64') # 64-bit build |
| 976 | if not support.Py_DEBUG: |
| 977 | test_args.append('+d') # Release build, use python.exe |
| 978 | if sysconfig.get_config_var("Py_GIL_DISABLED"): |
| 979 | test_args.append('--disable-gil') |
| 980 | self.run_batch(script, *test_args, *self.tests) |
| 981 | |
| 982 | @unittest.skipUnless(sys.platform == 'win32', 'Windows only') |
| 983 | def test_pcbuild_rt(self): |