Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7d4c36b

Browse files
committedAug 8, 2016
Fix log output in travis builds.
1 parent cced88f commit 7d4c36b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
 

‎.travis/run-make-gateware-filter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import threading
1111
import time
1212

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

1515
# Suppressions for warning / info messages
1616
#suppressions = [x.strip() for x in open(sys.argv[2], 'r').readlines() if not x.startswith('#')]

‎.travis/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ for BOARD in $BOARDS; do
2929
fi
3030
(
3131
for TARGET in $TARGETS; do
32+
LOGFILE=$PWD/build/output.$(date +%Y%m%d-%H%M%S).log
33+
3234
echo ""
3335
echo ""
3436
echo ""

‎Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ FILTER ?= tee -a
3232
MSCDIR ?= third_party/misoc
3333
HDMI2USBDIR = $(realpath .)
3434
PYTHON = python3
35-
DATE = $(shell date +%Y%m%d-%H%M%S)
36-
LOGFILE = $(PWD)/build/output.$(DATE).log
35+
LOGFILE ?= $(PWD)/build/output.$(shell date +%Y%m%d-%H%M%S).log
3736

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

0 commit comments

Comments
 (0)
Please sign in to comment.