Skip to content

Commit e7ed430

Browse files
committed
Removed useless configs from tests
1 parent 95c3ed4 commit e7ed430

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/it/unipr/analysis/cron/EVMBytecodeGroundTruth.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ public void testGroundTruth() throws Exception {
2424
Path SMARTCONTRACTS_FULLPATH = Paths.get("benchmark", "50-ground-truth.txt");
2525

2626
boolean changed = false;
27-
EVMLiSA.setStackLimit(32);
28-
EVMLiSA.setStackSetSize(8);
2927
EVMLiSA.setWorkingDirectory(WORKING_DIRECTORY_PATH);
30-
EVMLiSA.setCores(6);
28+
EVMLiSA.setCores(
29+
Runtime.getRuntime().availableProcessors() / 4 * 3);
3130
EVMLiSA.setTestMode();
3231
EVMLiSA.analyzeSetOfContracts(SMARTCONTRACTS_FULLPATH);
3332

0 commit comments

Comments
 (0)