Lines Matching refs:base_path
16 def base_path(*p): function
24 MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', base_path('../ports/windows/micropython.exe'))
27 MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', base_path('../ports/unix/micropython'))
34 MPYCROSS = os.getenv('MICROPY_MPYCROSS', base_path('../mpy-cross/mpy-cross'))
76 … if test_file.startswith(('cmdline/', base_path('feature_check/'))) or test_file in special_tests:
237 def run_feature_check(pyb, args, base_path, test_file): argument
241 return run_micropython(pyb, args, base_path("feature_check", test_file), is_special=True)
275 output = run_feature_check(pyb, args, base_path, 'native_check.py')
280 output = run_feature_check(pyb, args, base_path, 'int_big.py')
285 output = run_feature_check(pyb, args, base_path, 'bytearray.py')
290 output = run_feature_check(pyb, args, base_path, 'set_check.py')
295 output = run_feature_check(pyb, args, base_path, 'slice.py')
300 output = run_feature_check(pyb, args, base_path, 'async_check.py')
305 output = run_feature_check(pyb, args, base_path, 'const.py')
310 output = run_feature_check(pyb, args, base_path, 'reverse_ops.py')
315 output = run_feature_check(pyb, args, base_path, 'uio_module.py')
320 t = run_feature_check(pyb, args, base_path, 'repl_emacs_check.py')
325 t = run_feature_check(pyb, args, base_path, 'repl_words_move_check.py')
329 upy_byteorder = run_feature_check(pyb, args, base_path, 'byteorder.py')
330 upy_float_precision = run_feature_check(pyb, args, base_path, 'float.py')
335 has_complex = run_feature_check(pyb, args, base_path, 'complex.py') == b'complex\n'
336 has_coverage = run_feature_check(pyb, args, base_path, 'coverage.py') == b'coverage\n'
337 … cpy_byteorder = subprocess.check_output(CPYTHON3_CMD + [base_path('feature_check/byteorder.py')])
616 …cmd_parser.add_argument('-r', '--result-dir', default=base_path('results'), help='directory for te…
653 sys.path.append(base_path('../engine/tools'))
659 sys.path.append(base_path('../engine/tools'))
696 os.environ['MICROPYPATH'] = os.pathsep + base_path('../extmod')