You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2020/02/12 23:04:36 UTC

[incubator-tuweni] branch master updated: Add eth2 reference tests

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a26000  Add eth2 reference tests
     new 2fe5e06  Merge pull request #47 from atoulme/add_eth2_ref_tests
3a26000 is described below

commit 3a260007187709e27b77d0fd9b9385a786aec90e
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Tue Feb 11 23:13:05 2020 -0800

    Add eth2 reference tests
---
 .gitmodules                                        |  3 ++
 .../build.gradle                                   | 51 ++++++----------------
 eth2-reference-tests/src/test/resources            |  1 +
 settings.gradle                                    |  1 +
 4 files changed, 19 insertions(+), 37 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index c98bdaf..bd160f6 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/settings.gradle b/eth2-reference-tests/build.gradle
similarity index 51%
copy from settings.gradle
copy to eth2-reference-tests/build.gradle
index 30dbabe..69da807 100644
--- a/settings.gradle
+++ b/eth2-reference-tests/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  * 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
@@ -10,39 +10,16 @@
  * 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.
  */
-rootProject.name='tuweni'
-include 'bytes'
-include 'concurrent'
-include 'concurrent-coroutines'
-include 'config'
-include 'crypto'
-include 'devp2p'
-include 'dist'
-include 'dns-discovery'
-include 'eth'
-include 'eth-reference-tests'
-include 'eth-repository'
-include 'ethstats'
-include 'gossip'
-include 'hobbits'
-include 'hobbits-relayer'
-include 'io'
-include 'junit'
-include 'kademlia'
-include 'kv'
-include 'les'
-include 'merkle-trie'
-include 'net'
-include 'net-coroutines'
-include 'plumtree'
-include 'progpow'
-include 'rlp'
-include 'rlpx'
-include 'scuttlebutt'
-include 'scuttlebutt-discovery'
-include 'scuttlebutt-handshake'
-include 'scuttlebutt-rpc'
-include 'scuttlebutt-client-lib'
-include 'ssz'
-include 'toml'
-include 'units'
+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 0000000..a799077
--- /dev/null
+++ b/eth2-reference-tests/src/test/resources
@@ -0,0 +1 @@
+Subproject commit a799077979254b5c16937d574cdcd52757d24900
diff --git a/settings.gradle b/settings.gradle
index 30dbabe..0e83d1d 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'


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org