← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/tags_again into lp:widelands

 

> It is known to run on Linux,

No, i am on linux and it fails. Complete output: https://bugs.launchpad.net/widelands/+bug/1530124/+attachment/4563209/+files/fail.txt

Output from console regarding "adding directory":

Adding home directory: /tmp/widelands_regression_testxYqcI9
Set home directory: /tmp/widelands_regression_testxYqcI9
There's no configuration file, using default values.
Realpath: /home/kaputtnik/Quellcode/widelands-repo/trunk/data
Adding directory: /home/kaputtnik/Quellcode/widelands-repo/trunk/data

Output with the print statement:

python2.7 regression_test.py -b ./widelands                                                        
Using './widelands' binary.                                                                            
test/maps/plain.wmf/scripting/test_gamespeed.lua ...                                                   
  Running Widelands ... args: ['./widelands', '--verbose=true', '--datadir=data', '--datadir_for_testing=', '--homedir=/tmp/widelands_regression_testr_lTcK', '--disable_fx=true', '--disable_music=true', '--language=en_US', '--scenario=test/maps/plain.wmf', '--script=test/maps/plain.wmf/scripting/test_gamespeed.lua']                                                                               FAIL

I don't know how to use the "datadir_for_testing" flag. Trying to use it as follows does not work:

$:> python2.7 regression_test.py -b ./widelands --datadir_for_testing=/home/kaputtnik/Quellcode/widelands-repo/trunk/
usage: regression_test.py [-h] [-r REGEXP] [-n] [-k] [-b BINARY]
regression_test.py: error: unrecognized arguments: --datadir_for_testing=/home/kaputtnik/Quellcode/widelands-repo/trunk/


-- 
https://code.launchpad.net/~widelands-dev/widelands/tags_again/+merge/284636
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/tags_again.


References