Searched refs:test_file (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/py_engine/tests/ |
A D | run-tests | 76 … if test_file.startswith(('cmdline/', base_path('feature_check/'))) or test_file in special_tests: 83 with open(test_file, 'rb') as f: 91 if 'repl_' in test_file: 152 cmdlist.append(test_file) 460 for test_file in tests: 461 test_file = test_file.replace('\\', '/') 498 print(test_file) 502 print("skip ", test_file) 532 print("skip ", test_file) 542 print("pass ", test_file) [all …]
|
A D | run-internalbench.py | 28 for test_file in tests: 35 [MICROPYTHON, "-X", "emit=bytecode", test_file[0]] 43 output_mupy = pyb.execfile(test_file).replace(b"\r\n", b"\n") 48 test_file[1] = output_mupy 87 test_file 89 for test_file in test_files
|
A D | run-natmodtests.py | 98 for test_file in args.files: 101 if test_file.find(k) != -1: 106 print("---- {} - no matching mpy".format(test_file)) 110 with open(test_file, "rb") as f: 118 print("---- {} - mpy file not compiled".format(test_file)) 136 with open(test_file + ".exp", "rb") as f: 159 print("{:4} {}{}".format(result, test_file, extra))
|
A D | run-perfbench.py | 90 for test_file in sorted(test_list): 91 print(test_file + ": ", end="") 96 and test_file.find("bm_fft") != -1 98 and test_file.find("viper_") != -1 105 with open(test_file, "rb") as f: 113 with open("%s.full" % test_file, "wb") as f: 264 BENCH_SCRIPT_DIR + test_file 265 for test_file in os.listdir(BENCH_SCRIPT_DIR) 266 if test_file.endswith(".py") and test_file not in tests_skip
|
A D | run-multitests.py | 221 for test_file in sorted(test_files): 223 with open(test_file) as f: 228 test_files2.append((test_file, num_instances)) 238 def run_test_on_instances(test_file, num_instances, instances): argument 254 instance.start_file(test_file, append=append_code) 348 for test_file, num_instances in test_files: 360 test_file_expected = test_file + ".exp" 367 test_file, num_instances, instances_truth 380 skipped_tests.append(test_file) 383 passed_tests.append(test_file) [all …]
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | vfs_basic.py.exp | 39 1 remove test_file 40 1 rename test_file test_file2 42 1 stat test_file 46 1 open test_file r 47 1 open test_file wb
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | tinytest-codegen.py | 26 def script_to_map(test_file): argument 27 r = {"name": chew_filename(test_file)["func"]} 28 with open(test_file, "rb") as f: 30 with open(test_file + ".exp", "rb") as f:
|
Completed in 8 milliseconds