summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-07-30 19:25:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 11:27:52 +0100
commitf169733738587e5665b350f8a181b3145776e317 (patch)
tree5d6153bd877b5f45eed8a517cf1fa730c48c48ec /bitbake
parent73f14975c53448789d6c418c0f560b9e20dcb8ae (diff)
downloadpoky-f169733738587e5665b350f8a181b3145776e317.tar.gz
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: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/lib/toaster/contrib/tts/recv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/contrib/tts/recv.py b/bitbake/lib/toaster/contrib/tts/recv.py
index 2faf8d08c7..07efdac44b 100755
--- a/bitbake/lib/toaster/contrib/tts/recv.py
+++ b/bitbake/lib/toaster/contrib/tts/recv.py
@@ -25,7 +25,7 @@
25# |[full/path]/recv.py 25# |[full/path]/recv.py
26 26
27from __future__ import print_function 27from __future__ import print_function
28import sys, os, config, shellutils 28import sys, config, shellutils
29 29
30from email.parser import Parser 30from email.parser import Parser
31 31
@@ -46,7 +46,7 @@ def main():
46 subject_parts = subject.split() 46 subject_parts = subject.split()
47 if "[review-request]" in subject_parts: 47 if "[review-request]" in subject_parts:
48 task_name = subject_parts[subject_parts.index("[review-request]") + 1] 48 task_name = subject_parts[subject_parts.index("[review-request]") + 1]
49 with open(os.path.join(os.path.dirname(__file__), config.BACKLOGFILE), "a") as fout: 49 with open(config.BACKLOGFILE, "a") as fout:
50 line = "%s|%s\n" % (task_name, config.TASKS.PENDING) 50 line = "%s|%s\n" % (task_name, config.TASKS.PENDING)
51 fout.write(line) 51 fout.write(line)
52 52