Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix log output in travis builds.
  • Loading branch information
mithro committed Aug 8, 2016
1 parent cced88f commit 7d4c36b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis/run-make-gateware-filter.py
Expand Up @@ -10,7 +10,7 @@
import threading
import time

log_file = open(sys.argv[1], 'w')
log_file = open(sys.argv[1], 'w+')

# Suppressions for warning / info messages
#suppressions = [x.strip() for x in open(sys.argv[2], 'r').readlines() if not x.startswith('#')]
Expand Down
2 changes: 2 additions & 0 deletions .travis/run.sh
Expand Up @@ -29,6 +29,8 @@ for BOARD in $BOARDS; do
fi
(
for TARGET in $TARGETS; do
LOGFILE=$PWD/build/output.$(date +%Y%m%d-%H%M%S).log

echo ""
echo ""
echo ""
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Expand Up @@ -32,8 +32,7 @@ FILTER ?= tee -a
MSCDIR ?= third_party/misoc
HDMI2USBDIR = $(realpath .)
PYTHON = python3
DATE = $(shell date +%Y%m%d-%H%M%S)
LOGFILE = $(PWD)/build/output.$(DATE).log
LOGFILE ?= $(PWD)/build/output.$(shell date +%Y%m%d-%H%M%S).log

# We use the special PIPESTATUS which is bash only below.
SHELL := /bin/bash
Expand Down

0 comments on commit 7d4c36b

Please sign in to comment.