Skip to content

Commit

Permalink
Tweaking diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Oct 29, 2024
1 parent eb9ffae commit 0c48f33
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions bin/reset_config
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,11 @@ cat <<EOF > $REFLECTOR_CONFIG
}
EOF

echo TAP1
env | fgrep UDMI_ || true
env | fgrep udmi_ || true
set | fgrep UDMI_ || true
set | fgrep udmi_ || true
echo TAP2

validator/bin/reflector $REFLECTOR_CONFIG update/config:${dst_config}
7 changes: 7 additions & 0 deletions bin/sequencer
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,13 @@ cat $SEQUENCER_CONFIG

[[ ! -d $UDMI_ROOT/validator/src ]] || $UDMI_ROOT/validator/bin/build

echo TAP1
env | fgrep UDMI_ || true
env | fgrep udmi_ || true
set | fgrep UDMI_ || true
set | fgrep udmi_ || true
echo TAP2

echo $JAVA_CMD
result=0
$JAVA_CMD 2>&1 | tee $SEQUENCER_LOG || true
Expand Down
7 changes: 0 additions & 7 deletions bin/toolrun
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,5 @@ JAVA_CLASS=com.google.daq.mqtt.util.Dispatcher

echo starting run at $(date --utc --iso=s)

echo TAP1
env | fgrep UDMI_ || true
env | fgrep udmi_ || true
set | fgrep UDMI_ || true
set | fgrep udmi_ || true
echo TAP2

echo java -cp $UDMI_JAR $JAVA_CLASS $util_name "$@"
java -cp $UDMI_JAR $JAVA_CLASS $util_name "$@" 2>&1 | tee $OUT_DIR/$util_name.log

0 comments on commit 0c48f33

Please sign in to comment.