Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fs.readFile(".solcover.js", "utf8", function(err, data) {

let testCommand = "truffle test --network coverage";
fs.readdirSync("./test").forEach(file => {
if (file != "a_poly_oracle.js" && file != "s_v130_to_v140_upgrade.js") testCommand = testCommand + " test\\\\" + file;
if (file != "a_poly_oracle.js") testCommand = testCommand + " test\\\\" + file;
});
testCommand = testCommand + "',";
let result = data.replace(regex2, testCommand);
Expand Down
4 changes: 2 additions & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ else
if [ "$CIRCLE_CI_CRON" = true ]; then
node_modules/.bin/truffle test `ls test/*.js | circleci tests split --split-by=timings`
else
node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js -and ! -name s_v130_to_v140_upgrade.js | circleci tests split --split-by=timings`
node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js | circleci tests split --split-by=timings`
fi
else
node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js -and ! -name s_v130_to_v140_upgrade.js`
node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js`
fi
fi
4 changes: 1 addition & 3 deletions scripts/wintest.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,5 @@ for %%i in (test\*.js) do call :PushTest %%i

:PushTest
if NOT "%1" == "test\a_poly_oracle.js" (
if NOT "%1" == "test\s_v130_to_v140_upgrade.js" (
set var=%var% %1
)
set var=%var% %1
)
Loading