Home
last modified time | relevance | path

Searched refs:log_file (Results 1 – 25 of 81) sorted by relevance

1234

/external/OpenCL-CTS/test_conformance/
Drun_conformance.py38 global log_file
40 log_file.write(text+"\n")
72 def run_test_checking_output(current_directory, test_dir, log_file): argument
165 log_file.write(" " + line +"\n")
166 log_file.flush()
192 log_file.write(read_output.read(1))
212log_file.write("==================================================================================…
213log_file.write("==================================================================================…
214 log_file.write("(" + get_time() + ") Running Tests: " + test_dir +"\n")
215log_file.write("==================================================================================…
[all …]
/external/toolchain-utils/deprecated/
Dsummarize_results.py26 def Matches(self, log_file): argument
27 for log_line in log_file:
32 def Summarize(self, log_file, filename): argument
37 for line in log_file:
59 def Matches(self, log_file): argument
61 for log_line in log_file:
66 def Summarize(self, log_file, filename): argument
69 log_file_lines = '\n'.join(log_file)
84 def Matches(self, log_file): argument
85 for log_line in log_file:
[all …]
/external/oj-libjdwp/src/share/back/
Dlog_messages.c49 static FILE * log_file; variable
156 if ( log_file == NULL && open_count == 0 && logging_filename[0] != 0 ) { in log_message_end()
158 log_file = fopen(logging_filename, "w"); in log_message_end()
159 if ( log_file!=NULL ) { in log_message_end()
160 (void)setvbuf(log_file, NULL, _IOLBF, BUFSIZ); in log_message_end()
166 if ( log_file != NULL ) { in log_message_end()
188 standard_logging_format(log_file, in log_message_end()
245 if ( log_file != NULL ) { in finish_logging()
246 (void)fflush(log_file); in finish_logging()
247 (void)fclose(log_file); in finish_logging()
[all …]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py74 def trace_enable(log_file=None, format=None): argument
85 _trace_enable(log_file, format)
129 def _trace_enable(log_file=None, format=None): argument
139 if log_file == None:
145 log_file = open("%s.pb" % n, "ab", False)
147 log_file = open("%s.json" % n, "ab", False)
148 elif isinstance(log_file, basestring):
149 log_file = open("%s" % log_file, "ab", False)
150 elif not hasattr(log_file, 'fileno'):
154 _note("trace_event: tracelog name is %s" % log_file)
[all …]
/external/arm-neon-tests/
Dcompute_ref.c36 FILE* log_file = NULL; variable
44 if (log_file) fclose (log_file); in cleanup()
204 log_file = fopen (LOGFILE, "w"); in main()
205 if (log_file == NULL) { in main()
212 fprintf (log_file, "Error opening ref file %s\n", REFFILE); in main()
218 fprintf (log_file, "Error opening GCC ref file %s\n", GCCTESTS_FILE); in main()
222 fprintf (log_file, "Computing refs....\n"); in main()
367 fprintf (log_file, "Finished\n"); in main()
/external/autotest/client/cros/faft/utils/
Dos_interface.py55 def __init__(self, state_dir=None, log_file=None, test_mode=False): argument
70 if log_file is None:
71 log_file = 'faft_client.log'
73 if not os.path.isabs(log_file):
74 log_file = os.path.join(state_dir, log_file)
77 self.log_file = log_file
200 if not self.log_file or not os.path.exists(self.state_dir):
207 with open(self.log_file, 'a') as log_f:
/external/ImageMagick/config/
Dtap-driver.sh63 log_file= # Where to save the result and output of the test script.
76 --log-file) log_file=$2; shift;;
148 -v log_file="$log_file" \
639 } 3>"$log_file"
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/external/autotest/server/cros/chaos_lib/
Dchaos_log_analyzer.py27 def _find_line_in_log(self, search_pattern, log_file): argument
29 log_file.seek(0)
30 for line in log_file:
51 def _extract_log_lines(self, log_file, start_pattern=None, end_pattern=None, argument
71 log_file.seek(0)
72 for line in log_file:
/external/expat/conftools/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/external/libevent/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/external/libpng/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/external/wayland/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/external/pcre/dist2/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/external/curl/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/external/autotest/server/
Dsite_linux_router.py288 log_file = os.path.join(self.logdir,
307 self.router.run('rm %s' % log_file, ignore_status=True)
310 self.cmd_hostapd, conf_file, log_file, stderr_log_file)
315 log_file,
324 condition=lambda: self._has_hostapd_started(log_file, pid),
337 def _has_hostapd_started(self, log_file, pid): argument
344 'grep "Setup of interface done" %s' % log_file,
352 'grep "Interface initialization failed" %s' % log_file,
431 files_to_copy = [(instance.log_file,
933 log_file = self.hostapd_instances[instance].log_file
[all …]
/external/autotest/client/site_tests/camera_HAL3Perf/
Dcamera_HAL3Perf.py42 def _analyze_log(self, log_file): argument
54 with open(log_file, 'r') as f:
66 msg = 'Error in parsing the log file (%s)' % log_file
69 msg = 'Error in reading the log file (%s): %s' % (log_file, err)
/external/libxkbcommon/xkbcommon/build-aux/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
/external/iperf3/config/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
/external/strace/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
/external/google-breakpad/autotools/
Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
107 "$@" >$log_file 2>&1
/external/iptables/
Diptables-test.py33 log_file = None variable
166 global log_file
170 print("command: {}".format(cmd), file=log_file)
172 stderr=subprocess.STDOUT, stdout=log_file)
173 log_file.flush()
355 global log_file
357 log_file = open(LOGFILE, 'w')
/external/autotest/client/site_tests/firmware_TouchMTB/tools/
Dhost_replay.sh98 read log_dir log_file <<< `echo $file | awk -F/ 'BEGIN{OFS=" ";} \
100 cp "${HOST_TMP_LOG_DIR}/${log_file}" "${board}/${log_dir}/${log_file}"
/external/toolchain-utils/android_bench_suite/
Dbuild_bench.py179 log_file = os.path.join(config.bench_suite_dir, 'build_log')
180 with open(log_file, 'a') as logfile:
188 '%s for more info.', raw_cmd, log_file)
193 log_file)
/external/libbrillo/brillo/daemons/
Ddaemon.cc107 const base::FilePath& log_file) { in UpdateLogSymlinks() argument
110 if (!base::CreateSymbolicLink(log_file.BaseName(), latest_log_symlink)) { in UpdateLogSymlinks()
112 << latest_log_symlink.value() << " to " << log_file.value(); in UpdateLogSymlinks()

1234