mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 08:14:02 -05:00
tests: Add usage() to build.sh
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
2593aadb3b
commit
6492a9cada
@ -4,6 +4,12 @@ set -e
|
|||||||
|
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
|
usage()
|
||||||
|
{
|
||||||
|
echo "$0 [-c | --codecov] [-f | --force-config]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
use_lcov=0
|
use_lcov=0
|
||||||
force_config=0
|
force_config=0
|
||||||
while [ "$1" != "" ]; do
|
while [ "$1" != "" ]; do
|
||||||
@ -16,7 +22,7 @@ while [ "$1" != "" ]; do
|
|||||||
force_config=1
|
force_config=1
|
||||||
echo "$0: force copy config specified"
|
echo "$0: force copy config specified"
|
||||||
;;
|
;;
|
||||||
* ) exit 1
|
* ) usage
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user