From 74043fa1aa40c375c7f299e6b5f1b6ea9150580e Mon Sep 17 00:00:00 2001
From: Tristan Gingold <tgingold@free.fr>
Date: Mon, 1 Nov 2021 19:50:41 +0100
Subject: testsuite/gna/issue1069: improve harness

---
 testsuite/synth/issue1069/testsuite.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'testsuite')

diff --git a/testsuite/synth/issue1069/testsuite.sh b/testsuite/synth/issue1069/testsuite.sh
index 1604b4bfb..6d1d90ada 100755
--- a/testsuite/synth/issue1069/testsuite.sh
+++ b/testsuite/synth/issue1069/testsuite.sh
@@ -3,7 +3,7 @@
 . ../../testenv.sh
 
 for f in tdp_ram tdp_ram2 ram3 ram4 ram5; do
-    synth_tb $f 2> $f.log
+    synth_tb $f 2>&1 | tee $f.log
     grep "found RAM" $f.log
 done
 
-- 
cgit v1.2.3