test.testers: fix getAllOutputNames not found
This commit is contained in:
parent
44425dc5ab
commit
40197595ce
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,15 @@ echo "testBuildFailure: Original builder produced exit code: $r"
|
|||
|
||||
# -----------------------------------------
|
||||
# Write the build log to the default output
|
||||
#
|
||||
# # from stdenv setup.sh
|
||||
getAllOutputNames() {
|
||||
if [ -n "$__structuredAttrs" ]; then
|
||||
echo "${!outputs[*]}"
|
||||
else
|
||||
echo "$outputs"
|
||||
fi
|
||||
}
|
||||
|
||||
outs=( $(getAllOutputNames) )
|
||||
defOut=${outs[0]}
|
||||
|
|
Loading…
Reference in a new issue