Code coverage for Solidity smart-contracts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Toggles optimizer on/off
|
|
|
|
VIAR_IR=$VIA_IR
|
|
|
|
|
|
|
|
# Minimize integration test output
|
|
|
|
SILENT=true
|
|
|
|
|
|
|
|
node --max-old-space-size=4096 \
|
|
|
|
./node_modules/.bin/nyc \
|
|
|
|
--reporter=lcov \
|
|
|
|
--exclude '**/sc_temp/**' \
|
|
|
|
--exclude '**/test/**/' \
|
|
|
|
--exclude 'plugins/resources/matrix.js' \
|
|
|
|
-- \
|
|
|
|
mocha \
|
|
|
|
test/units/* test/integration/* \
|
|
|
|
--require "test/util/mochaRootHook.js" \
|
|
|
|
--timeout 100000 \
|
|
|
|
--no-warnings \
|
|
|
|
--exit \
|