File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
checker/bin-devel/wpi-plumelib Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,12 @@ test_wpi_plume_lib() {
98
98
more " $DLJC_OUT_DIR " /*
99
99
# The string is printed by `tools/wpi.py` in the do_like_javac repository.
100
100
AJAVADIR=" $( sed -n ' s/Directory for generated annotation files: \(.*\)$/\1/p' " $DLJC_OUT_DIR " /dljc-stdout-* ) "
101
- echo " AJAVADIR=$AJAVADIR "
102
- find " $AJAVADIR " -type f -print0 | xargs -0 more
101
+ if [ -z " $AJAVADIR " ]; then
102
+ echo " AJAVADIR cannot be determined from $DLJC_OUT_DIR /dljc-stdout-* (printed immediately above)"
103
+ else
104
+ echo " AJAVADIR=$AJAVADIR "
105
+ find " $AJAVADIR " -type f -print0 | xargs -0 more
106
+ fi
103
107
# Repeat the actual error, so it appears at the end of the continuous integration log.
104
108
echo " Comparing $EXPECTED_FILE $ACTUAL_FILE in $( pwd) "
105
109
diff -u expected.txt actual.txt
You can’t perform that action at this time.
0 commit comments