uses docker in tesrunner

This commit is contained in:
sveneh 2015-01-14 17:53:13 +01:00
parent 9326d0a6dd
commit fffd981058
2 changed files with 4 additions and 3 deletions

3
ansible/Vagrantfile vendored
View File

@ -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
# #

View File

@ -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