uses docker in tesrunner
This commit is contained in:
parent
9326d0a6dd
commit
fffd981058
3
ansible/Vagrantfile
vendored
3
ansible/Vagrantfile
vendored
@ -60,7 +60,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
# see http://askubuntu.com/questions/238040/how-do-i-fix-name-service-for-vagrant-client
|
# see http://askubuntu.com/questions/238040/how-do-i-fix-name-service-for-vagrant-client
|
||||||
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
|
||||||
|
|
||||||
vb.customize ["modifyvm", :id, "--memory", "1024"]
|
# cpp client needs a lot of RAM to build
|
||||||
|
vb.customize ["modifyvm", :id, "--memory", "2048"]
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#cd ~/software/Ethereum/pyethereum (python has local dependencies so only works from within the directory)
|
#cd ~/software/Ethereum/pyethereum (python has local dependencies so only works from within the directory)
|
||||||
while [ 1 ]
|
while [ 1 ]
|
||||||
do
|
do
|
||||||
TEST="$(~/software/Ethereum/cpp-ethereum/build/test/createRandomTest)"
|
TEST="$(docker run --rm cpp)"
|
||||||
# echo "$TEST"
|
# echo "$TEST"
|
||||||
|
|
||||||
# test pyethereum
|
# test pyethereum
|
||||||
@ -13,7 +13,7 @@ do
|
|||||||
#RESULT_PYTHON=$?
|
#RESULT_PYTHON=$?
|
||||||
|
|
||||||
# test go
|
# test go
|
||||||
OUTPUT_GO="$(ethtest "$TEST")"
|
OUTPUT_GO="$(docker run --rm go "$TEST")"
|
||||||
RESULT_GO=$?
|
RESULT_GO=$?
|
||||||
|
|
||||||
# test cpp-jit
|
# test cpp-jit
|
||||||
|
Loading…
Reference in New Issue
Block a user