← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/bug-1541697 into lp:widelands

 

GunChleoc has proposed merging lp:~widelands-dev/widelands/bug-1541697 into lp:widelands.

Commit message:
Fixed datadir_for_testing in regression_test.py.

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1541697 in widelands: "regression_test.py does not work in some setups"
  https://bugs.launchpad.net/widelands/+bug/1541697

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1541697/+merge/285054

Fixed datadir_for_testing in regression_test.py.
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1541697 into lp:widelands.
=== modified file 'regression_test.py'
--- regression_test.py	2016-01-28 05:24:34 +0000
+++ regression_test.py	2016-02-04 12:24:57 +0000
@@ -16,7 +16,7 @@
     return os.path.join(os.path.dirname(__file__), "data")
 
 def datadir_for_testing():
-    return os.path.join(os.path.dirname(__file__))
+    return os.path.relpath(".", os.path.dirname(__file__))
 
 def out(string):
     sys.stdout.write(string)


Follow ups