diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2016-10-14 15:17:24 +0200 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-10-18 11:27:01 +0000 |
commit | f5c54089b50718abf7c35aa81b150c509809d5c4 (patch) | |
tree | b89109fe0e83f4f76aff30e16dfff458229899bf /solenv/qa | |
parent | 276732f3068cac65dd607b4f78abdcd918ed30ad (diff) |
prep WinResTarget for WNT in testdir
Change-Id: I04c050dca1212d247c9b11a996ba8f37c0a6492f
Reviewed-on: https://gerrit.libreoffice.org/29825
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'solenv/qa')
-rw-r--r-- | solenv/qa/python/gbuildtoide.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/qa/python/gbuildtoide.py b/solenv/qa/python/gbuildtoide.py index 11e66a82f286..591a5fca8216 100644 --- a/solenv/qa/python/gbuildtoide.py +++ b/solenv/qa/python/gbuildtoide.py @@ -18,13 +18,17 @@ import tempfile class CheckGbuildToIde(unittest.TestCase): def setUp(self): self.tempwork = tempfile.mkdtemp() + if os.environ['OS'] == 'WNT': + self.tempworkmixed = self.tempwork.replace('\\','/') + else: + self.tempworkmixed = self.tempwork def tearDown(self): subprocess.check_call(['rm', '-rf', self.tempwork]) def test_gbuildtoide(self): os.chdir(os.path.join(os.environ['SRCDIR'], 'solenv', 'qa', 'python', 'selftest')) - subprocess.check_call(['make', 'gbuildtoide', 'WORKDIR=%s' % self.tempwork]) + subprocess.check_call(['make', 'gbuildtoide', 'WORKDIR=%s' % self.tempworkmixed]) jsonfiles = os.listdir(os.path.join(self.tempwork, 'GbuildToIde', 'Library')) gbuildlibs = [] for jsonfilename in jsonfiles: |