Hemant Zope 6795434469 [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
2019-10-30 15:31:04 +08:00

23 lines
385 B
Bash
Executable File

#!/bin/bash
set -e
#install latest curl
wget https://curl.haxx.se/download/curl-7.61.1.zip
unzip curl-7.61.1.zip
cd curl-7.61.1
./configure
make
sudo make install
cd ..
# project
cmake .
make
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