Skip to content
Snippets Groups Projects
Commit f1697337 authored by Alexandru DAMIAN's avatar Alexandru DAMIAN Committed by Richard Purdie
Browse files

bitbake: toaster tests: gitignore and use absolute path for log file


gitignore the cache directory created by the http client

the log file for tests is already set up as an absolute path,
so no need to recompute the path

(Bitbake rev: 80f525e5cbe83e0407ecddf84401d68213c6d5cf)

Signed-off-by: default avatarAlexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: default avatarEd Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 73f14975
No related merge requests found
......@@ -21,3 +21,6 @@ documentation/user-manual/user-manual.html
documentation/user-manual/user-manual.pdf
documentation/user-manual/user-manual.tgz
pull-*/
bitbake/lib/toaster/contrib/tts/backlog.txt
bitbake/lib/toaster/contrib/tts/log/*
bitbake/lib/toaster/contrib/tts/.cache/*
\ No newline at end of file
......@@ -25,7 +25,7 @@
# |[full/path]/recv.py
from __future__ import print_function
import sys, os, config, shellutils
import sys, config, shellutils
from email.parser import Parser
......@@ -46,7 +46,7 @@ def main():
subject_parts = subject.split()
if "[review-request]" in subject_parts:
task_name = subject_parts[subject_parts.index("[review-request]") + 1]
with open(os.path.join(os.path.dirname(__file__), config.BACKLOGFILE), "a") as fout:
with open(config.BACKLOGFILE, "a") as fout:
line = "%s|%s\n" % (task_name, config.TASKS.PENDING)
fout.write(line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment