Skip to content

Commit

Permalink
[t1rocket] pipe emulator log to stdout and file
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin authored and sequencer committed Sep 4, 2024
1 parent 5c816a3 commit c1d7ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/t1/run/run-vcs-emu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ stdenvNoCC.mkDerivation (finalAttr: {
export RUST_BACKTRACE=full
"$emuDriver" $emuDriverArgs 1>$out/online-drive-emu-journal 2>$rtlEventOutPath || printError
"$emuDriver" $emuDriverArgs 1> >(tee $out/online-drive-emu-journal) 2>$rtlEventOutPath || printError
echo "[nix] VCS run done"
Expand Down Expand Up @@ -60,7 +60,7 @@ stdenvNoCC.mkDerivation (finalAttr: {
)
offlineCheckArgs="''${offlineCheckArgsArray[@]}"
echo -e "[nix] running offline check: \033[0;34m${emulator}/bin/offline $offlineCheckArgs\033[0m"
"${offline-checker}/bin/offline" $offlineCheckArgs &> $out/offline-check-journal
"${offline-checker}/bin/offline" $offlineCheckArgs &> >(tee $out/offline-check-journal)
printf "$?" > $out/offline-check-status
if [ "$(cat $out/offline-check-status)" != "0" ]; then
Expand Down

0 comments on commit c1d7ba8

Please sign in to comment.