diff -Nru litmus-0.3.7/debian/changelog litmus-0.3.8/debian/changelog --- litmus-0.3.7/debian/changelog 2017-05-10 01:52:39.000000000 +0000 +++ litmus-0.3.8/debian/changelog 2017-07-18 01:56:56.000000000 +0000 @@ -1,8 +1,14 @@ -litmus (0.3.7-0ubuntu2~ubuntu16.10.1) yakkety; urgency=low +litmus (0.3.8-0ubuntu0~ubuntu16.10.1) yakkety; urgency=low * Auto build. - -- Donghoon Shin Wed, 10 May 2017 01:52:39 +0000 + -- Donghoon Shin Tue, 18 Jul 2017 01:56:56 +0000 + +litmus (0.3.8) unstable; urgency=medium + + * Update _screenshot_wayland method + + -- Donghoon Shin Tue, 18 Jul 2017 10:03:30 +0900 litmus (0.3.7) unstable; urgency=medium diff -Nru litmus-0.3.7/debian/git-build-recipe.manifest litmus-0.3.8/debian/git-build-recipe.manifest --- litmus-0.3.7/debian/git-build-recipe.manifest 2017-05-10 01:52:39.000000000 +0000 +++ litmus-0.3.8/debian/git-build-recipe.manifest 2017-07-18 01:56:56.000000000 +0000 @@ -1,2 +1,2 @@ -# git-build-recipe format 0.4 deb-version {debversion}-0ubuntu2 -lp:litmus-tizen git-commit:498d82b8661c8df6829933749700648945c65b33 +# git-build-recipe format 0.4 deb-version {debversion}-0ubuntu0 +lp:litmus-tizen git-commit:13f0a6a3c35e410605105f83c932ca228bb68dfb diff -Nru litmus-0.3.7/litmus/device/device.py litmus-0.3.8/litmus/device/device.py --- litmus-0.3.7/litmus/device/device.py 2017-05-10 01:52:39.000000000 +0000 +++ litmus-0.3.8/litmus/device/device.py 2017-07-18 01:56:56.000000000 +0000 @@ -411,13 +411,13 @@ """docstring for _screenshot_wayland""" # Find all viewable window id p_winid = '.*(0x[a-zA-Z0-9]{8})\s+\d+\s+\d+\s+\d+' \ - '\s+\d+\s+(\d+)\s+(\d+).*\sViewable.*' + '\s+\d+\s+(\d+)\s+(\d+).*[0]{1}\s+\d+\s+[NV]{1}.*' winids = find_all_pattern(p_winid, self.run_cmd('enlightenment_info -topvwins', timeout=20)) if winids: # Dump windows - outs = self.run_cmd('enlightenment_info -dump_topvwins', + outs = self.run_cmd('cd /tmp; enlightenment_info -dump_topvwins', timeout=20) dirn = find_pattern('directory:\s(.*)', outs, @@ -429,14 +429,15 @@ # If dump does not exist then remove winid from list winids = [winid for winid in winids - if os.path.exists(os.path.join(tmpdir, winid[0]+'.png'))] + if os.path.exists(os.path.join(tmpdir, + winid[0]+'_0.png'))] # Base image bg = Image.new('RGB', (self._screen_width, self._screen_height)) # Merge images for winid in reversed(winids): try: - fg = Image.open(os.path.join(tmpdir, winid[0]+'.png')) + fg = Image.open(os.path.join(tmpdir, winid[0]+'_0.png')) bg.paste(fg, (int(winid[1]), int(winid[2])), fg) except FileNotFoundError: pass diff -Nru litmus-0.3.7/litmus/__init__.py litmus-0.3.8/litmus/__init__.py --- litmus-0.3.7/litmus/__init__.py 2017-05-10 01:52:39.000000000 +0000 +++ litmus-0.3.8/litmus/__init__.py 2017-07-18 01:56:56.000000000 +0000 @@ -14,7 +14,7 @@ # limitations under the License. import os -__version__ = '0.3.7' +__version__ = '0.3.8' _homedir_ = os.path.expanduser('~') _confdir_ = os.path.join(_homedir_, '.litmus') _duts_ = os.path.join(_confdir_, 'topology')