Supress expected errors

This commit is contained in:
Jesus Herrera 2020-06-26 00:16:05 -04:00
parent b3033da9a1
commit 9f2480208b

View File

@ -338,7 +338,7 @@ assert_clean
touch "staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go"
echo > api/api-rules/violation_exceptions.list
echo > api/api-rules/codegen_violation_exceptions.list
if make generated_files >/dev/null; then
if make generated_files >/dev/null 2>&1; then
echo "Expected make generated_files to fail with API violations."
echo ""
exit 1