Test: adds environment variable to disable contract typechecking
This commit is contained in:
parent
7b6d8c3db3
commit
311f10aa83
@ -23,10 +23,13 @@ CONTRACT_PATH=contracts
|
||||
printf "\n\n"
|
||||
|
||||
# Assert all contracts typecheck
|
||||
for contract in `ls $CONTRACT_PATH/*.tz`; do
|
||||
printf "[Typechecking %s]\n" "$contract";
|
||||
${client} typecheck program "$contract";
|
||||
done
|
||||
if [ ! $NO_TYPECHECK ] ; then
|
||||
for contract in `ls $CONTRACT_PATH/*.tz`; do
|
||||
printf "[Typechecking %s]\n" "$contract";
|
||||
${client} typecheck program "$contract";
|
||||
done
|
||||
printf "All contracts are well typed\n\n"
|
||||
fi
|
||||
|
||||
# FORMAT: assert_output contract_file storage input expected_result
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user