Skip to content

Commit 6795434

Browse files
zhemantwing328
authored andcommitted
[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
1 parent a2b37d6 commit 6795434

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

samples/client/petstore/c/build-and-test.bash

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ cmake .
1616

1717
make
1818

19-
./unit-manual-PetAPI
20-
./unit-manual-UserAPI
21-
./unit-manual-StoreAPI
19+
if [ -f unit-manual-PetAPI ]; then ./unit-manual-PetAPI; fi
20+
if [ -f unit-manual-UserAPI ]; then ./unit-manual-UserAPI; fi
21+
if [ -f unit-manual-StoreAPI ]; then ./unit-manual-StoreAPI; fi
22+

0 commit comments

Comments
 (0)