uses docker in tesrunner

pull/425/head
sveneh 10 years ago
parent 9326d0a6dd
commit fffd981058
  1. 3
      ansible/Vagrantfile
  2. 4
      ansible/test-files/testrunner.sh

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

@ -4,7 +4,7 @@
#cd ~/software/Ethereum/pyethereum (python has local dependencies so only works from within the directory)
while [ 1 ]
do
TEST="$(~/software/Ethereum/cpp-ethereum/build/test/createRandomTest)"
TEST="$(docker run --rm cpp)"
# echo "$TEST"
# test pyethereum
@ -13,7 +13,7 @@ do
#RESULT_PYTHON=$?
# test go
OUTPUT_GO="$(ethtest "$TEST")"
OUTPUT_GO="$(docker run --rm go "$TEST")"
RESULT_GO=$?
# test cpp-jit

Loading…
Cancel
Save