Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 844982 - Use sys.executable for Windows unit tests. r=aki
Browse files Browse the repository at this point in the history
  • Loading branch information
Armen Zambrano Gasparnian committed Mar 5, 2013
1 parent 1c97941 commit 6c1902c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion configs/unittests/win_unittest.py
Expand Up @@ -92,7 +92,7 @@
"cmd": [
# when configs are consolidated this python path will only show
# for windows.
os.path.join(os.getcwd(), "build", "venv", "Scripts", "python"),
sys.executable,
"../scripts/external_tools/mouse_and_screen_resolution.py",
"--configuration-url",
"http://hg.mozilla.org/%(repo_path)s/raw-file/%(revision)s/" +
Expand Down
1 change: 0 additions & 1 deletion external_tools/mouse_and_screen_resolution.py
Expand Up @@ -111,7 +111,6 @@ class POINT(Structure):
_fields_ = [("x", c_ulong), ("y", c_ulong)]

def queryMousePosition():
global pt
pt = POINT()
windll.user32.GetCursorPos(byref(pt))
return { "x": pt.x, "y": pt.y}
Expand Down

0 comments on commit 6c1902c

Please sign in to comment.