File tree Expand file tree Collapse file tree 7 files changed +17
-16
lines changed Expand file tree Collapse file tree 7 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 121
121
] ;
122
122
} ;
123
123
124
- test-integration = commonAttrs // {
125
- dependsOn = [ compile ] ;
126
- label = "integration tests" ;
127
- command = ''
128
- nix-shell --run '$SBT coverageOff it:test'
129
- '' ;
130
- artifactPaths = [ "target/test-reports/**/*" ] ;
131
- } ;
132
-
133
124
test-ets = commonAttrs // {
134
125
dependsOn = [ compile ] ;
135
126
label = "ETS" ;
145
136
] ;
146
137
} ;
147
138
139
+ test-integration = commonAttrs // {
140
+ dependsOn = [ compile ] ;
141
+ label = "integration tests" ;
142
+ command = ''
143
+ nix-shell --run '$SBT coverageOff it:test'
144
+ '' ;
145
+ artifactPaths = [ "target/test-reports/**/*" ] ;
146
+ timeoutInMinutes = 60 ;
147
+ } ;
148
+
148
149
coverageReport = commonAttrs // {
149
150
dependsOn = [ test-unit test-evm ] ;
150
151
label = "coverage report" ;
154
155
} ;
155
156
156
157
additional = commonAttrs // {
157
- dependsOn = [ compile ] ;
158
+ dependsOn = [ compile test-integration ] ;
158
159
label = "additional compilation & dist" ;
159
160
command = ''
160
161
nix-shell --run '$SBT benchmark:compile dist'
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ with pkgs;
21
21
mkShell {
22
22
nativeBuildInputs = [ sbt solc lllc jdk8 protoc-wrapper retesteth netcat-gnu ] ;
23
23
# SBT = "sbt -v -mem 2048 -J-Xmx4g -Dsbt.ivy.home=/cache/ivy2 -Dsbt.boot.directory=/cache/sbt -Dmaven.repo.local=/cache/maven -Dnix=true";
24
- SBT = "sbt -v -mem 2048 -J-Xmx4g -Dnix=true" ;
24
+ SBT = "sbt -v -mem 2048 -J-Xmx6g -Dnix=true" ;
25
25
}
Original file line number Diff line number Diff line change 2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
4
cd $DIR /..
5
- ./bin/mantis -- eckeygen " $@ "
5
+ exec ./bin/mantis -- eckeygen " $@ "
Original file line number Diff line number Diff line change 2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
4
cd $DIR /..
5
- ./bin/mantis -Dconfig.file=./conf/faucet.conf " $@ " -- faucet
5
+ exec ./bin/mantis -Dconfig.file=./conf/faucet.conf " $@ " -- faucet
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ elif [ -z "$1" ]; then
11
11
CHAIN_PARAM=" -Dconfig.file=./conf/etc.conf"
12
12
fi
13
13
14
- ./bin/mantis ${CHAIN_PARAM: +" $CHAIN_PARAM " } " $@ "
14
+ exec ./bin/mantis ${CHAIN_PARAM: +" $CHAIN_PARAM " } " $@ "
Original file line number Diff line number Diff line change 3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
4
cd $DIR /..
5
5
6
- ./bin/mantis vm-server " $@ "
6
+ exec ./bin/mantis vm-server " $@ "
Original file line number Diff line number Diff line change 2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
4
cd $DIR /..
5
- ./bin/mantis -- signature-validator " $@ "
5
+ exec ./bin/mantis -- signature-validator " $@ "
You can’t perform that action at this time.
0 commit comments