From 0b01e53b1602a49a0a2ba7b0af758539c2c2918a Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 11 Aug 2016 15:51:08 -0700 Subject: [PATCH] Only run integration script if it exists. --- lib/ansible/modules/test/utils/shippable/integration.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/test/utils/shippable/integration.sh b/lib/ansible/modules/test/utils/shippable/integration.sh index 07701eea202..ee16e765c15 100755 --- a/lib/ansible/modules/test/utils/shippable/integration.sh +++ b/lib/ansible/modules/test/utils/shippable/integration.sh @@ -49,4 +49,7 @@ pip list source hacking/env-setup test/utils/shippable/modules/generate-tests "${this_module_group}" --verbose --output /tmp/integration.sh >/dev/null -/bin/bash -eux /tmp/integration.sh + +if [ -f /tmp/integration.sh ]; then + /bin/bash -eux /tmp/integration.sh +fi