We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2e2f07 commit 27a2ac2Copy full SHA for 27a2ac2
staging/src/k8s.io/code-generator/examples/hack/verify-codegen.sh
@@ -44,6 +44,16 @@ else
44
fi
45
46
# smoke test
47
+print_stack_trace() {
48
+ echo "*************************************************************************************"
49
+ echo "Stack trace (most recent call first):"
50
+ for ((i=${#FUNCNAME[@]}-1; i>=0; i--)); do
51
+ echo " [${i}] ${FUNCNAME[i]}() called at ${BASH_SOURCE[i+1]}:${BASH_LINENO[i]}"
52
+ done
53
+}
54
+
55
+print_stack_trace
56
57
echo "Smoke testing examples by compiling..."
58
pushd "${SCRIPT_ROOT}"
59
go build "k8s.io/code-generator/examples/crd/..."
0 commit comments