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 committed Sep 3, 2024
1 parent 92ae424 commit 0848223
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 0848223

Please sign in to comment.