From 6795434469c849f23731bef04e49332372ca798a Mon Sep 17 00:00:00 2001 From: Hemant Zope <42613258+zhemant@users.noreply.github.com> Date: Wed, 30 Oct 2019 08:31:04 +0100 Subject: [PATCH] [C] Update build-and-test.bash for CI errors (#4312) * Update build-and-test.bash add check for non autogenerated test file * Update README.md.mustache Add instructions on how to test petstore sample manual tests. * remove petstore sample from readme --- samples/client/petstore/c/build-and-test.bash | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/samples/client/petstore/c/build-and-test.bash b/samples/client/petstore/c/build-and-test.bash index 28256027f84d..e10052bb5576 100755 --- a/samples/client/petstore/c/build-and-test.bash +++ b/samples/client/petstore/c/build-and-test.bash @@ -16,6 +16,7 @@ cmake . make -./unit-manual-PetAPI -./unit-manual-UserAPI -./unit-manual-StoreAPI +if [ -f unit-manual-PetAPI ]; then ./unit-manual-PetAPI; fi +if [ -f unit-manual-UserAPI ]; then ./unit-manual-UserAPI; fi +if [ -f unit-manual-StoreAPI ]; then ./unit-manual-StoreAPI; fi +