/external/autotest/client/site_tests/security_Minijail0/src/ |
mountns-enter-child.py | 9 test_file = sys.argv[1] variable 11 # We entered a mount namespace where |test_file| should not be accessible. 12 if os.access(test_file, os.F_OK):
|
mountns-enter.py | 16 test_file = os.path.join(tmpdir, "test") variable 17 with open(test_file, "w") as t: 22 sys.executable, child_path, test_file])
|
/external/ltp/testcases/kernel/power_management/ |
runpwtests01.sh | 34 test_file="/sys/devices/system/cpu/sched_mc_power_savings" 35 if [ ! -f ${test_file} ] ; then 36 tst_brkm TBROK "MISSING_FILE: missing file ${test_file}" 41 check_input "${valid_input}" valid $test_file 44 check_input "${invalid_input}" invalid $test_file
|
runpwtests02.sh | 34 test_file="/sys/devices/system/cpu/sched_smt_power_savings" 35 if [ ! -f ${test_file} ] ; then 36 tst_brkm TBROK "MISSING_FILE: missing file ${test_file}" 40 check_input "${valid_input}" valid $test_file 43 check_input "${invalid_input}" invalid $test_file
|
runpwtests06.sh | 32 test_file="/proc/sys/kernel/timer_migration" 33 if [ ! -f ${test_file} ] ; then 34 tst_brkm TBROK "MISSING_FILE: missing file ${test_file}" 39 check_input "${valid_input}" valid $test_file 42 check_input "${invalid_input}" invalid $test_file
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/ |
include.exp | 33 foreach test_file $test_list { 34 set test_name [file rootname $test_file]
|
rgn-at.exp | 28 foreach test_file $test_list { 29 set test_name [file rootname $test_file]
|
rgn-over.exp | 33 foreach test_file $test_list { 34 set test_name [file rootname $test_file] 39 if { ! [regexp ".*-ok.d" $test_file] } { 44 if [regexp_diff $map_file $test_file] {
|
/external/toolchain-utils/binary_search_tool/sysroot_wrapper/ |
testing_test.py | 27 for test_file in bad_files: 28 test_file = test_file.strip() 29 cmd = ['grep', test_file, os.path.join(bisect_dir, 'BAD_SET')]
|
/external/autotest/client/site_tests/graphics_dEQP/ |
generate_controlfiles.py | 18 Test = namedtuple('Test', 'filter, suite, shards, time, hasty, tag, test_file, perf_failure_description') 46 Test('bvt', Suite.bvtcq, shards=1, hasty=False, time='FAST', tag='bvt', test_file=BVT_MASTER_FILE, perf_failure_description='Failures_BVT'), 47 Test('dEQP-GLES2-master', Suite.daily, shards=1, hasty=False, time='LENGTHY', tag='gles2-master', test_file=GLES2_MASTER_FILE, perf_failure_description='Failures_GLES2'), 48 Test('dEQP-GLES2-master', Suite.bvtpb, shards=10, hasty=True, time='FAST', tag='gles2-master', test_file=GLES2_MASTER_FILE, perf_failure_description=None), 52 Test('dEQP-GLES2.stress', Suite.daily, shards=1, hasty=False, time='LONG', tag='stress', test_file=None, perf_failure_description=None), 53 Test('dEQP-GLES3.accuracy', Suite.none, shards=1, hasty=False, time='FAST', tag=None, test_file=None, perf_failure_description=None), 54 Test('dEQP-GLES3-master', Suite.daily, shards=1, hasty=False, time='LENGTHY', tag='gles3-master', test_file=GLES3_MASTER_FILE, perf_failure_description='Failures_GLES3'), 55 Test('dEQP-GLES3-master', Suite.bvtpb, shards=10, hasty=True, time='FAST', tag='gles3-master', test_file=GLES3_MASTER_FILE, perf_failure_description=None), 56 Test('dEQP-GLES3.performance', Suite.none, shards=1, hasty=False, time='LONG', tag=None, test_file=None, perf_failure_description=None), 58 Test('dEQP-GLES3.stress', Suite.none, shards=1, hasty=False, time='LONG', tag=None, test_file=None, perf_failure_description=None) [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_file.py | 3 def test_file(): function
|
/external/openssh/regress/unittests/sshkey/ |
Makefile | 4 SRCS=tests.c test_sshkey.c test_file.c test_fuzz.c common.c
|
/external/swiftshader/third_party/subzero/pydir/ |
wasm-run-torture-tests.py | 126 def run_test(test_file, verbose=False): 138 test_name = os.path.basename(test_file) 143 print("\033[1;34mSkipping {}\033[1;m".format(test_file)) 148 -verbose=wasm -o {}""".format(test_file, obj_file) 155 out.write(test_file + " ..."); 160 compile_failures.append(test_file) 176 run_failures.append(test_file) 180 run_failures.append(test_file) 208 for test_file in test_files: 209 tasks.put(test_file) [all...] |
/external/autotest/client/site_tests/audio_SeekAudioFeedback/ |
audio_SeekAudioFeedback.py | 25 def run_once(self, test_file, test_duration): 42 self.rms_test(tab, test_file, noiseprof_file.name, test_duration) 46 def rms_test(self, tab, test_file, noiseprof_file, test_duration): 47 logging.info('rms test on media file %s.', test_file) 52 # Plays the test_file in the browser and seek 6 times. 54 self.play_media(tab, test_file, x) 75 self._rms_values['%s_rms_value' % test_file.replace('.', '_')]=rms 85 def play_media(self, tab, test_file, value): 88 @param test_file: Media file to test. 91 tab.EvaluateJavaScript('play("%s")' % test_file) [all...] |
/external/pdfium/core/fpdfapi/parser/ |
cpdf_parser_unittest.cpp | 85 std::string test_file; local 87 &test_file)); 88 ASSERT_TRUE(parser.InitTestFromFile(test_file.c_str())) << test_file; 101 std::string test_file; local 103 "parser_rebuildxref_error_notrailer.pdf", &test_file)); 104 ASSERT_TRUE(parser.InitTestFromFile(test_file.c_str())) << test_file;
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
object_unittest.cc | 41 Sized_object_test(const unsigned char* test_file, unsigned int test_file_size) 46 Input_file input_file(task, "test.o", test_file, test_file_size); 48 test_file, test_file_size, NULL);
|
/external/libchrome/base/files/ |
file_path_watcher_unittest.cc | 178 FilePath test_file() { function in class:base::__anon22692::FilePathWatcherTest 236 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 238 ASSERT_TRUE(WriteFile(test_file(), "content")); 245 ASSERT_TRUE(WriteFile(test_file(), "content")); 249 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 252 ASSERT_TRUE(WriteFile(test_file(), "new content")); 264 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 267 ASSERT_TRUE(base::Move(source_file, test_file())); 273 ASSERT_TRUE(WriteFile(test_file(), "content")); 277 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)) [all...] |
/external/webrtc/webrtc/modules/audio_processing/transient/ |
wpd_tree_unittest.cc | 126 rtc::scoped_ptr<FileWrapper> test_file(FileWrapper::Create()); 128 test_file->OpenFile(test_file_name.c_str(), 133 bool file_opened = test_file->Open(); 146 size_t file_samples_read = ReadInt16FromFileToFloatBuffer(test_file.get(), 188 file_samples_read = ReadInt16FromFileToFloatBuffer(test_file.get(), 199 test_file->CloseFile();
|
/development/testrunner/test_defs/ |
gtest.py | 89 for test_file in test_file_list: 90 logger.SilentLog('Creating gtest suite for file %s' % test_file) 93 # expect tests in /data/nativetest/test_file/test_file 94 suite.SetTargetExecPath(os.path.join(target_root_path, test_file, test_file))
|
/external/vboot_reference/tests/ |
gen_test_cases.sh | 12 TEST_FILE=${TESTCASE_DIR}/test_file 24 openssl dgst -${hashalgo} -binary ${TEST_FILE} > \ 25 ${TEST_FILE}.${hashalgo}.digest 27 ${TEST_FILE} | openssl rsautl \ 29 > ${TEST_FILE}.rsa${keylen}_${hashalgo}.sig 38 dd if=/dev/urandom of=${TEST_FILE} bs=${TEST_FILE_SIZE} count=1
|
run_rsa_tests.sh | 15 TEST_FILE=${TESTCASE_DIR}/test_file 26 ${TEST_FILE}.rsa${keylen}_${hashalgo}.sig \ 27 ${TEST_FILE}
|
vb2_rsa_tests.sh | 15 TEST_FILE=${TESTCASE_DIR}/test_file 26 ${TEST_FILE}.rsa${keylen}_${hashalgo}.sig \ 27 ${TEST_FILE}
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
common_unittest_utils.py | 44 with open(filepath) as test_file: 45 return mtb.MtbParser().parse(test_file)
|
/external/autotest/client/site_tests/login_Cryptohome/ |
login_Cryptohome.py | 37 test_file = os.path.join(cryptohome.user_path(TEST_USER), 'hello') 38 open(test_file, 'w').close() 44 if os.path.exists(test_file):
|
/external/google-breakpad/src/common/linux/ |
memory_mapped_file_unittest.cc | 86 string test_file = temp_dir.path() + "/empty_file"; local 87 ASSERT_TRUE(WriteFile(test_file.c_str(), NULL, 0)); 90 MemoryMappedFile mapped_file(test_file.c_str(), 0); 95 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0)); 108 string test_file = temp_dir.path() + "/test_file"; local 109 ASSERT_TRUE(WriteFile(test_file.c_str(), data, data_size)); 112 MemoryMappedFile mapped_file(test_file.c_str(), 0); 120 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0));
|