diff --git a/.gitmodules b/.gitmodules index c98bdaf23..bd160f65c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "eth-reference-tests/src/test/resources/eth2.0-tests"] path = eth-reference-tests/src/test/resources/eth2.0-tests url = https://github.com/ethereum/eth2.0-tests.git +[submodule "eth2-reference-tests/src/test/resources"] + path = eth2-reference-tests/src/test/resources + url = https://github.com/ethereum/eth2.0-spec-tests.git diff --git a/eth2-reference-tests/build.gradle b/eth2-reference-tests/build.gradle new file mode 100644 index 000000000..69da8072e --- /dev/null +++ b/eth2-reference-tests/build.gradle @@ -0,0 +1,25 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE + * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file + * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +jar { enabled = false } + +dependencies { + + testCompile project(':junit') + testCompile 'com.fasterxml.jackson.core:jackson-databind' + testCompile 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml' + testCompile 'org.bouncycastle:bcprov-jdk15on' + testCompile 'org.junit.jupiter:junit-jupiter-api' + testCompile 'org.junit.jupiter:junit-jupiter-params' + + testRuntime 'org.junit.jupiter:junit-jupiter-engine' +} diff --git a/eth2-reference-tests/src/test/resources b/eth2-reference-tests/src/test/resources new file mode 160000 index 000000000..a79907797 --- /dev/null +++ b/eth2-reference-tests/src/test/resources @@ -0,0 +1 @@ +Subproject commit a799077979254b5c16937d574cdcd52757d24900 diff --git a/settings.gradle b/settings.gradle index 30dbabe78..0e83d1dc2 100644 --- a/settings.gradle +++ b/settings.gradle @@ -20,6 +20,7 @@ include 'devp2p' include 'dist' include 'dns-discovery' include 'eth' +include 'eth2-reference-tests' include 'eth-reference-tests' include 'eth-repository' include 'ethstats'