On Fri, Jun 13, 2014 at 10:44 AM, Jon Robson jdlrobson@gmail.com wrote:
Has anyone had success with this...?
This is what happens when I try to run:
master x ~/git/vagrant/mediawiki/tests/phpunit $ php phpunit.php
Warning: require_once(/vagrant/LocalSettings.php): failed to open stream: No such file or directory in /Users/jrobson/git/vagrant/mediawiki/LocalSettings.php on line 130
Fatal error: require_once(): Failed opening required '/vagrant/LocalSettings.php' (include_path='.:') in /Users/jrobson/git/vagrant/mediawiki/LocalSettings.php on line 130
I use it frequently, and iirc the setup was nearly exactly what the instruction on mediawiki said.
One other issue I did hit was that running even the databaseless tests on a default vagrant setup ran out of memory. I upped my vagrant config to use 2GB, and things work fine.
csteipp@herou:~/tmp/vagrant2> cat Vagrantfile-extra.rb #Vagrant.configure('2') do |config| # config.vm.synced_folder './browsertests', '/srv/browsertests', # id: 'vagrant-browsertests', # owner: 'vagrant', # group: 'vagrant' #end
Vagrant.configure('2') do |config| config.vm.provider :virtualbox do |vb| # See http://www.virtualbox.org/manual/ch08.html for additional options. vb.customize ['modifyvm', :id, '--memory', '2048'] vb.customize ['modifyvm', :id, '--cpus', '2'] vb.customize ['modifyvm', :id, "--cpuexecutioncap", "90"] end end
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l