| 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): |